[RFC] mount(8) can figure out fstype

M. Warner Losh imp at bsdimp.com
Fri Jan 19 05:48:38 UTC 2007


In message: <20070119023709.GA1524 at crodrigues.org>
            Craig Rodrigues <rodrigc at crodrigues.org> writes:
: This approach relies heavily on disklabels, and correct information
: being stored in disklabels.
: 
: For FreeBSD, I do not like the idea of introducing a new dependency
: between mount(8) and BSD disklabels.

It's worse than you might think.  On OpenBSD, the line between
partition and slice that we have in FreeBSD doesn't exist.  Everything
is a partition, and they create the necessary labeling when the label
is read.  Since FreeBSD lacks that feature, for the most part, you are
going to have to implement some kind of 'file'-like magic number
recognition for filesystems if you want to use a similar approach.

Warner


More information about the freebsd-current mailing list