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

Re: Forcing root filesystem read-only during normal operation



On Fri, Sep 18, 2009 at 03:50:17AM +0000, T o n g wrote:
> 
> Interesting, let me try... 
> 
> % mount -o ro,remount /dev/sda5 / && echo yes
> yes
> $ mount | grep sda5
> /dev/sda5 on / type ext3 (rw,noatime,nodiratime)

try as root:
$ telinit 1
login as root.
$ mount -o ro,remount /

but be forewarned that this closes all applications without saving.

Mike

-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


Reply to: