Mailinglist Archive: opensuse-security (260 mails)

< Previous Next >
RE: [suse-security] root fs read-only
  • From: Hans Peter Wiedau <hpw@xxxxxxxxx>
  • Date: Tue, 18 Jul 2000 13:35:14 +0200 (MEST)
  • Message-id: <XFMail.000718133514.hpw@xxxxxxxxx>
On 18-Jul-00 Nikolai Dahlem wrote:
> Hi,
>
> I try to mount my root-fs readonly.
> My fstab contains
> / ext2 (ro)
> and the msg during boot process say it mounted read-only, but in fact it's
> not; I can cp/mv/rm files and evertyhing. Strange thing is /boot ext2 (ro)
> works.
> Any suggestions ?

/etc/fstab can only be read after / is mounted. To mount / read-only you
have to use the `rdev' command (Try `rdev -h'). To mount the root-fs
readonly you have to use `rdev -R <kernel> 1' (or `rdev -R <kernel> 0¬ī to
mount it read/write).

HPW

< Previous Next >
References