> Hi,
> 
> I have two questions regarding the read-only file system in Linux.
> 
> 1) Where can I get any documents which explain the read-only file system for
> Linux?
> 2) Is it possible to switch between the modes (i.e. change the file system
> to read/write, install an application and get back to the read only mode
> without rebooting).

I see others have answered yoru question adequately.

However you CAN go a stage further in making a whole drive ro: man hdparm for 
details.

and you can mount filesystems to apply other limitations:
nodev    Can't make/use devices on this filesystems
nosuid   Can;t run setuid programs from this filesystem
noexec   Can't run programs at all from this filesystem

Here's ho I mount my CD with autofs:

cd              -fstype=iso9660,ro,noexec,nodev,nosuid          :/dev/hdd

It's a good antivirus/antitrojan measure, especially now that "autorun" has 
come to Linux.




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to