Re: [RFC] mount can figure out fstype automatically

From: John Nielsen <john_at_jnielsen.net>
Date: Sat, 08 Jul 2006 18:32:07 -0400
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
Received on Sat Jul 08 2006 - 20:32:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC