[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Forcing root filesystem read-only during normal operation



T o n g <mlist4suntong@yahoo.com> wrote:
> % mount -o ro,remount /dev/sda5 / && echo yes
> yes

> $ mount | grep sda5
> /dev/sda5 on / type ext3 (rw,noatime,nodiratime)

> Still NOK!? 

Well. Actually it's quite possible it worked. And once the mount worked,
the tool tried to update /etc/mtab to reflect the new situation. But
that failed because the filesystem is now read-only.

The proof is whether something like "touch /.test" succeeds, or not.
CHris


Reply to: