[RFC] mount can figure out fstype automatically
John Nielsen
john at jnielsen.net
Sat Jul 8 22:32:09 UTC 2006
Quoting Dag-Erling Smørgrav <des at des.no>:
> Craig Rodrigues <rodrigc at crodrigues.org> writes:
>> I've come up with a patch that does this, by interpreting
>> an fstype of "" as:
>> - starting with "ufs", iterate over all the local filesystem types
>> that we know about, and try to mount the device
>
> What about cases where there may be several matching file systems?
> For instance, a clean ext3 file system is also a valid ext2 file
> system (and vice versa).
I've also seen cases where a partition is formatted FAT32, then
newfs'ed [ufs] under FreeBSD, but still mount-able as FAT32. (Windows
will in fact automount such partitions even if the partition type is
165. grr..)
JN
More information about the freebsd-arch
mailing list