Joel Hammer wrote:
>
> Thanks. That worked fine. But, even after I:
> mount -n -o remount,ro /
> the mount command still showed / as rw, even though fsck ran without
> complaint.
> Joel
Yep. mount /proc and check /proc/mounts, it doesn't lie. But /etc/mtab
does lie, which is what you see when you type mount. If fsck ran
without complaining, that's your first clue all was well (and the
partition was either unmounted or mounted ro).
When you ran mount -n -o remount,ro /, the -n said "no write to
/etc/mtab" so the value (rw) remained unchanged. Problem is, the write
to mtab takes place _after_ the filesystem is remounted (on success).
But at that point, the filesystem is ro, so you can't change mtab to
show that the filesystem is ro.
Did that make sense/answer the question?
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users