On Wed, Sep 09, 2009 at 19:05:27 +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 /
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 / -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org