Re: Linux 2.4.26 JFS: cannot mount

From: Dave Kleikamp
Date: Tue Jun 08 2004 - 15:38:40 EST


On Tue, 2004-06-08 at 15:14, Matthias Andree wrote:

> Further info, it turned out that the fsck column for the respective file
> system was 0. It has now been fixed to 2.
>
> Question: is the JFS kernel driver supposed to mount a dirty file system
> (replaying journal or whatever) without user space help - for instance,
> if it's used as root file system?

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.
--
David Kleikamp
IBM Linux Technology Center

-
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/