James wrote:
> Another fix:
> 
> Add this to the start of the rc.d/network stop section.
> 
> # Ensure netfs is taken down before network.
> for daemon in "[EMAIL PROTECTED]"; do
>     if [ "$daemon" = "${daemon#!}" -a "$daemon" = "netfs" ]; then
>         if ! ck_daemon netfs; then
>             /etc/rc.d/netfs stop
>         fi
>     fi
> done
> 
> Will stop netfs if it's running, before stopping the network.
> 

I'd never had a problem with netfs not unmounting what it mounted, more
so the problem is I don't run netfs since I connect to several different
networks and I don't want it to always try to connect to every share I
have defined in fstab.  Instead I just mount them manually as I need to
access them.  I'm sure there are others doing something similar with
auto mounting or what not. Now that I think about it adding the line
"umount -a -t nfs,smbfs,codafs,cifs,shfs,fuse" in the beginning of
rc.d/network's stop section might be a nice solution.  Thats all netfs'
stop routine does anyway but running umount explicitly will cover cases
like mine where netfs was never started in the first place.

-- 
-andy

[EMAIL PROTECTED]
gpg key: http://home.comcast.net/~phydeaux37/phy_pub_key.txt

_______________________________________________
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to