On Thursday 13 January 2005 04:50, Sven Köhler wrote:
> > 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....
> 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...

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

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).
> 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).
> It seems that i should jump into 
> my car tomorrow, and check the fs while i'm sitting in front of the
> computer.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


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