[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: keeping partitions mounted read-only




Hi!

Thank you for your hints! I´ve already been trying to figure which files prevent the partition from being remounted with lsof. The problem with lsof is that a large number of files on /usr is listed, and I can´t tell which of them need to be closed and which can stay open.

Is there any way to do the remounting without a reboot?

Well, it's not a reboot, but it has the same effect in that it kills off
production processes, but what I do is go to single user mode (telinit
1), and then remount rw, apt-get, and then remount ro, and then go back
into production mode (telinit 5).

Hm, maybe that´s a better way to do security updates, anyway ...

This, ofcourse, shuts down all the production processes and starts them
back up.  But it's not a reboot.  So I can still be smug when extolling
the virtues of *nix over windoze . . . .

Ja, it would be nice it it works ... I´ll try it as soon as possible :)


GH



Reply to: