Subject: Re: ex0 driver trouble in -current
To: Brett Lymn <>
From: Wolfgang Rupprecht <>
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 Rupprecht    <>
Coming soon: GPS mapping tools for Open Systems.