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

Problem solved: i stopped all running services, and suddenly a normal "mount -o remount,ro /" worked, and fsck.reiserfs is working too now.
I tried the same thing yesterday, and it didn't work - strange.


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

i still can login. i guess all the information is logged to the console now, since the syslog daemon is stopped.



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