Re: Forcing root filesystem read-only during normal operation
On Wed, 09 Sep 2009 15:49:28 +0200, Florian Kulzer wrote:
>> * mount -o ro,remount /
>
> I suspect that the second command fails because you did not specify both
> the device and the directory. AFAIK, only the complete form will make
> mount ignore an rw option given in /etc/fstab:
>
> mount -o ro,remount /dev/foo /
Interesting, let me try...
% mount -o ro,remount /dev/sda5 / && echo yes
yes
$ mount | grep sda5
/dev/sda5 on / type ext3 (rw,noatime,nodiratime)
Still NOK!?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: