Subject: Re: ex0 driver trouble in -current
To: Brett Lymn <blymn@baesystems.com.au>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: current-users
Date: 05/07/2001 05:15:56
Brett Lymn writes:
> Well, have your sleep script unmount the nfs mounts prior to going to
> sleep by creating a script file /etc/apm/suspend and putting:
>
> umount -at nfs
>
> in it. You can remount them again in the resume script.
This only works if no program is using the nfs partition as its
current working directory. Seeing how my home directory is nfs-ed
that makes it really hard.
I have tried to put a handful of sync()s in the apm script, but it is
not 100% reliable.
The whole idea that a script turns off a vital system resource is
flawed IMHO.
-wolfgang
--
Wolfgang Rupprecht <wolfgang@wsrcc.com> http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/