DragonFly BSD
DragonFly bugs List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1538] mountroot should probe file systems


From: Alex Hornung <ahornung@xxxxxxxxx>
Date: Wed, 24 Nov 2010 18:33:36 +0000

On 24/11/2010 18:29, Matthew Dillon (via DragonFly issue tracker) wrote:
     The disklabel also has the filesystem type stored in it for each
     partition.  The mount command can just probe that.  We can add an
     ioctl if necessary.
Not all partitions have a disklabel, so it would be somewhat limited.

     I would rather NOT try to auto-probe filesystems since different
     filesystems put their volume header in different places.  For example,
     it is possible for both the UFS and HAMMER volume headers to be present
     (I've done it), though of course only one of the two will actually be
     the correct filesystem.
I think a solution to this would be the hammer newfs and UFS newfs overwriting enough of the first few blocks to avoid this from occurring...

Cheers,
Alex



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]