Btw, why don't you do the check on the host? Real probleems or will to do
it properly?

Thx for the answer, but i just klicked the wrong "newsgroup" in my mozilla. The mail was ment to go to gentoo-user mailinglist.

About /forcefsck, maybe it ignores it if /halt or something like that is absent....

No, it isn't ignored. Gentoo prints a warning on the screen, that a check has been forced, so the file is still present when Gentoo boots.


I was talking about a real system without UML, and the problem is, that
even with "mount -f -o remount,ro /" fsck.reiserfs still think that the
rootfs is mounted writable. I don't know why. mount shows "ro", but that
might not mean that much.

Check inside /proc/mounts, it's reliable (rootfs is always rw, you care to the reiserfs mount) - mount cannot update /etc/mtab since it would require writing to the rootfs. Or maybe /etc/mtab still says it's rw...

all possible. i will check that.

Seriously - have you checked the "check" field in /etc/fstab to make sure it's "1"? I have played with that flag sometimes....

yes, it's "1", but the "check" field is ignored by /etc/init.d/checkroot anyway.


Also, what you say about fsck.reiserfs is strange... while for ext3, if the fs is clean, no checking at all is done, for reiserfs a light check (replaying the journal and walking the tree) is always done on newer versions, (Mandrake 9.1 didn't do it, 10.0 does the check, which is annoying).

fsck.reiserfs always performs that light check, but i'd like to force a full check on the next boot, and there doesn't seem to a proper way to do that. Gentoo's /etc/init.d/checkroot does a "fsck -C -a -f /" if the file /forcefsck is present, but fsck.reiserfs still does its light check. I guess fsck.ext2/ext3 would do a full check.


I would do the fsck.reiserfs remotely via ssh if i could, but obviously
i'm to stupid, or it just won't work.

ssh won't like a read-only root fs, I think... at least, normally it records the login, his logs... (Maybe it can be made to behave, I can't exclude it).

good point, so a check on the next boot would be my choice, but how?


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to