Re: Linux 2.4.26 JFS: cannot mount

From: Nathan Scott
Date: Tue Jun 08 2004 - 19:15:54 EST


On Wed, Jun 09, 2004 at 12:35:28AM +0200, Matthias Andree wrote:
> On Tue, 08 Jun 2004, Dave Kleikamp wrote:
>
> > No, all of the code to replay the journal is in user space. JFS does
> > allow a read-only mount when the superblock is dirty. This allows
> > fsck.jfs to replay the journal while the root is mounted read-only. /
> > can then be remounted rw after fsck runs.
>
> So was the mount was refused because a) the read-only
> option was missing while b) the file system needed a journal replay?
>
> Interesting difference. XFS insists on replaying the log in kernel space
> (user space can only zero the log),

FWIW, all of the log replay code is there in userspace, so it
should just be a "simple matter of programming" to implement
this for XFS (noone has ever done so though, and its never
really been a priority for us).

cheers.

--
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/