Re: [RFC] mount(8) can figure out fstype



In message: <20070119023709.GA1524@xxxxxxxxxxxxxx>
Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx> 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
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages