Re: [RFC] mount can figure out fstype automatically



Quoting Dag-Erling Smørgrav <des@xxxxxx>:
Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx> 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

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"