Re: Unmounting SMB file systems

Daniel Silverstone (D.Silverstone@ucl.ac.uk)
Mon, 10 May 1999 02:39:57 +0100


Steve Dodd wrote:

> On Sat, May 08, 1999 at 12:01:11AM -0400, phazer wrote:
>
> > echo "Unmounting file systems"
> > for i in ` mount | grep -v 'type smbfs' | awk '{print $3}' ` ; do
> > umount $i
> > done
>
> umount -at nosmbfs

I had a quick peek at my /etc/rc.d/halt having noticed that problem with
smb mounts, to notice that the line in my halt file was
umount -avt noproc || {some fail code}

changing it to
umount -avt noproc,nosmbfs || {some fail code}
seemed to cure it

Thanks

Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/