On Tuesday 12,January,2010 03:08 AM, Wizzu wrote:
> I use NFS with autofs, and I'm impacted by this bug (2 minutes of
> waiting on resume before my NFS-mounted drive is available). Admittedly
> with autofs it's a bit of a different use case, but still... Sorry if
> the following is off-topic.
> 
> With autofs, it would actually be quite easy to unmount everything
> during suspend. Eg. see http://www.faqs.org/docs/Linux-
> mini/Automount.html#s5 . Doing it from a script/program should be done a
> bit differently, all automount pid files live in /var/run/autofs. And
> actually autofs even ships with a script to turn off automounted NFS
> shares during suspend (at /etc/apm/event.d/autofs) using this technique,
> but for some reason it doesn't seem to get called on my system AFAIK. I
> don't know enough about the suspend/hibernate system to diagnose why --
> is it in the wrong location (ie. should it be in /etc/pm/sleep.d instead
> of /etc/apm/event.d?)
> 
Yeah, that script's targeted for apmd, but Ubuntu uses pm-utils to suspend now
so the scripts in /etc/apm/event.d are generally ignored. That script will have
to be ported to pm-utils for it to work properly.

-- 
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer

-- 
Unmount NFS filesystems before stopping network during suspend
https://bugs.launchpad.net/bugs/30594
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to