Re: keeping partitions mounted read-only

2003-08-21 Thread Shaun Crossley
On Thu, Aug 21, 2003 at 01:16:57PM +0200, Hans Wilmer wrote: > > 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 > o

Re: keeping partitions mounted read-only

2003-08-21 Thread Hans Wilmer
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

Re: keeping partitions mounted read-only

2003-08-20 Thread Shaun Crossley
On Wed, Aug 20, 2003 at 04:35:43PM +0200, Hans Wilmer wrote: > > Is there any way to do the remounting without a reboot? >From time to time I need to unmount a partition on an active system. I use lsof to show open files on the partition so that I know which daemons to shutdown so that I can temp

Re: keeping partitions mounted read-only

2003-08-20 Thread Kevin Mark
On Wed, 2003-08-20 at 10:35, Hans Wilmer wrote: > Hi! > > Usually, I´m keeping partitions that can be mounted read-only, mounted that > way. Especially the /usr partition is mounted ro. > > To install security-updates (or new packages), I remount /usr by issueing a > ´mount /usr -o remount,rw´

Re: keeping partitions mounted read-only

2003-08-20 Thread Doug MacFarlane
On Wed, 2003-08-20 at 09:35, Hans Wilmer wrote: > 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 remou

keeping partitions mounted read-only

2003-08-20 Thread Hans Wilmer
Hi! Usually, I´m keeping partitions that can be mounted read-only, mounted that way. Especially the /usr partition is mounted ro. To install security-updates (or new packages), I remount /usr by issueing a ´mount /usr -o remount,rw´ so that the new software can be installed. After installation