Date: Sat, 08 Jul 2006 18:32:07 -0400 From: John Nielsen <john@jnielsen.net> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [RFC] mount can figure out fstype automatically Message-ID: <20060708183207.fp6bvcl40k0wow4w@newwebmail.jnielsen.net> In-Reply-To: <86ac7krtu1.fsf@xps.des.no> References: <20060708152801.GA3671@crodrigues.org> <86ac7krtu1.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Dag-Erling Sm=F8rgrav <des@des.no>: > Craig Rodrigues <rodrigc@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060708183207.fp6bvcl40k0wow4w>