Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
readonly initial mounting
Name: skiff Date: July 16, 2002 at 15:34:03 Pacific
Comment:
Hey, I was wondering if someone could tell me where RedHat Linux 7.1 mounts the harddrive file systems on startup... I'm assuming it's in some init or rc file but I can't find it. I'm trying to make it so that I can mount my entire hard drive (except swap space) as readonly and then I can just poweroff instead of doing a complete shutdown. Thanks for the help
Name: Trip Date: July 16, 2002 at 17:35:53 Pacific
Reply:
/etc/fstab
0
Response Number 2
Name: Harrie Date: July 17, 2002 at 05:08:02 Pacific
Reply:
Hi Skiff,
Did you think about the files in "/var"? Mounting /var read-only will give you all sorts of other problems (if not solved in another way).
Also, your shell's history file won't be updated, so recalling your commands is not possible that way (unless you do it in a RAM disk or something like that).
And what good is a /home when one cann't write to it?
Personnaly I think you should stick with "shutdown -h 0".
Summary: To avoid the readonly warnings mount the drives with -ro. Also, if you have fstab set up correctly then you don't need to do all that extra mounting crap, simply: mount /mnt/floppy mount /mnt/cd...
Summary: The problem with NTFS is, that Microsoft did not publish a complete description of it. Linux developers can not be sure to know all the hidden bells and whistles in NTFS. Therefore they don't conside...
Summary: Hi ali, First, I'll assume you don't know the 'root' password. If you do know it use 'root' and the password to get to a command prompt and type 'passwd ' and follow the prompts. Otherwise: 1. Re...