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

  • Re: [RFC] mount(8) can figure out fstype
    ... This approach relies heavily on disklabels, and correct information ... partition and slice that we have in FreeBSD doesn't exist. ...
    (freebsd-current)
  • Re: What to do 4 a correct Partition 4 freeBSD ?
    ... Maintaining against all evidence that Freebsd fdisk and disklabel ... first step during installation is to use fdisk to create partitions. ... And it would have to allow creating/editing disklabels as well as ...
    (comp.unix.bsd.freebsd.misc)
  • FreeBSD trashed after installing Win98SE in lower partition - what to do?
    ... After running the FreeBSD system for nearly a year, and loving it, ... Win98SE install, and my FreeBSD partition is now unbootable. ... Fail in installing FreeBSD 5.2.1 in the placeholder Windows ...
    (freebsd-questions)
  • Re: Moving existing FreeBSD system to a new harddisk...
    ... I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. ... from the old to the new hard disk. ... occupies the first slice (called primary partition) of each disk. ...
    (freebsd-questions)
  • Re: Question about FreeBSD installation procedure
    ... I have been interested in installing FreeBSD on my laptop (HP/Compaq ... NX5000, 2MB RAM), in a free 20MB partition. ... Generally, in MS, the terms partition and primary-partition often get ... space an unspecified primary partition and then install FreeBSD in to it. ...
    (freebsd-questions)