Re: fmount system call

Gerd Knorr (kraxel@goldbach.isdn.cs.tu-berlin.de)
Fri, 25 Jul 1997 21:43:40 +0200


In article <5raocl$7fr$1@work.smurf.noris.de>, you wrote:
>Tall cool one <ice@mama.indstate.edu> writes:
>>
>> I'll second that. There have been several times I wish I could force
>> unmount a hard NFS mount, or a drive that was acting screwy. And since I
>> couldn't umount them, I couldn't unmount the drives they were mounted on, so
>> next reboot was a e2fsck-free-for-all.
>>
>Actually, you can mount -o remount,ro them. No fsck necessary.
>
And it is a god idea to stick this into the shutdown script (i.e. if
umount fails, try to remount every still-mounted filesystem readonly)

Gerd