On Wed, Sep 09, 2009 at 07:05:27PM +1000, Ross Peachey wrote: > Hi All, > > Can anyone tell me how to force a filesystem read-only from Debian > during normal operation? I need to do this for testing of a failure > mode. > > The following doesn't work: > > * hdparm -r1 <device> > * mount -o ro,remount /
does it fail because you have open files. the only other way is to take apart the initrd and force the root fs to a mount -o ro
signature.asc
Description: Digital signature