Remounting / read-only
Howdy group!
I was wondering how I'm supposed to remount root readonly. From what I can
figure I'm supposed to issue the command "mount -o remount,ro /", but I only
get a "mount: / is busy" message. I've tried it without the comma between
remount and ro, and it seems to go through okay, but I'm not 100% sure that
it's now read-only. How can I check on this? If I just type mount, I see
all the options that are given in my fstab, but not what the current status
is (rw or ro) on any given mount point. If it helps, I was thinking it would
be best to make a backup of / with it as ro so that no data is changed during
the backup process and keep from corrupting any data. (Also, a particular
program I want to try out [partimage] requires it to be mounted ro.)
Thanks for any help!
Jeremy
Reply to: