[arch-general] Shutdown and reboot not working after last weekend update
Guillermo Leira
gleira at gleira.com
Thu Jun 14 17:43:01 EDT 2012
> [[ $UID -eq 0 ]] && umountcmd=umount || umountcmd="sudo umount"
>
> if grep -q mnt\/phx-cfg /etc/mtab; then
> echo "umount /mnt/phx-cfg"
> $umountcmd /mnt/phx-cfg
> fi
>
> if grep -q mnt\/phx-david /etc/mtab; then
> echo "umount /mnt/phx-david"
> $umountcmd /mnt/phx-david
> fi
>
> if grep -q mnt\/phx /etc/mtab; then
> echo "umount /mnt/phx"
> $umountcmd /mnt/phx
> fi
>
> if grep -q mnt\/win /etc/mtab; then
> echo "umount /mnt/win"
> $umountcmd /mnt/win
> fi
>
> if grep -q mnt\/pv /etc/mtab; then
> echo "umount /mnt/pv"
> $umountcmd /mnt/pv
> fi
>
> exit 0
>
>
> If you are experiencing shutdown hangs do to lingering mount issues, then
> something similar to this setup may help. (I never did figure out why the
> normal shutdown scripts didn't do this automatically)
I had the same problema, but I used
umount -arfl -t nfs,nfs4,smbfs,cifs
and it works... :-)
Best Regards
Guillermo Leira
More information about the arch-general
mailing list