there's been some confusion, I'll clarify my question.
I linux it is possible, in multi-user mode, to take a filesystem that is
mounted read-write and remount it read-only. This can be done to an active
filesystem. here is an example
#mount | grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (rw)
#pwd
/mnt/sda7/ExonIntron
#umount /mnt/sda7
umount: /mnt/sda7: device is busy
#mount -o ro,remount /mnt/sda7
#mount | grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (ro)
#pwd
/mnt/sda7/ExonIntron
#mount -o rw,remount /mnt/sda7
#mount |grep sda7
/dev/sda7 on /mnt/sda7 type reiserfs (rw)
I have taken a filesystem that I cannot unmount because I am in it, and
remounted it read-only. This is done while the system is up and running, and
while processes are running that have the target filesystem as thier working
directory. umount [filesystem] ; mount -o ro [filsystem] and related commands
will not work.
On Friday 26 October 2001 11:50 am, I wrote:
> In linux it is possible to remount a directory from rw to ro.
> mount -o remount ro [dir]
> Is this possible in Tru64 v5.1a, Advfs? I would like to have slave
> /usr/local/ servers that normally have ro mounts, but they need to remount
> the directories rw in order to sync them up to the master. I tried mount -u
> -o ro [dir] and got: Operation not supported.
>
> -Lucas Carey
Received on Fri Oct 26 2001 - 17:52:01 NZDT