On Mon, Mar 06, 2006 at 03:21:35PM -0800, Elliott Mitchell wrote:
> Package: e2fsprogs
> Version: 1.37-2sarge1
> Severity: important
> 
> Subject tells the story, because devics can change, e2fsck needs to be
> able to find external journal devices by UUID and correct the superblock
> field specifying the device. Isn't this why the journal UUID is present
> in the superblock?

Um, e2fsck does search for the external journal device by UUID.  It
only falls back to the superblock field specifying the device if the
journal can't be found.

I think the problem you may be seeing is that it currently doesn't
correct the superblock field specifying the device.  E2fsck can find
the journal, and it will replay the external journal if necessary.
But at the moment it doesn't set the superblock hint.

The hint by the way was always intended to be just that.  Userspace
can just as easily find the device using the blkid progam and pass it
as a mount option.  That's actually better because right now, if the
the journal doesn't need to be replayed, we won't try to find the
external journal, and so the hint won't necessarily be reset every
single time --- and the device number can potentially shift between
boots that don't require a journal replay.

Still, it would probably be a good idea for e2fsck to set the
superblock hint, even if the mount program should also be doing this
as well.

                                                - Ted


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to