Unmounting Samba shares first...

Levent Gündogdu levon at feature-it.de
Sat Jun 19 20:22:36 GMT 1999


Hi Mikkel!

Yes, of course. Why didn`t I see this?
Simple solution.

Thank you very much for that hint!

Bye,
 Levent.



> There are a couple of ways to do this, depending on what distribution
> you are running.  What you want to do is run umount -a -t smbfs
> before the network is shut down.  This will unmount all the file
> systems in /etc/mtab of the type smbfs.  You could add this to the
> script that brings the network down, the script that shuts down
> Samba, or have it done when you unmount and NFS mounts.



More information about the samba mailing list