solairis.com

Samba

Mount Share

mount -t smbfs -o username=billy,password=b1llyp4ss //machine-name/share_drive /dir/to/mount/to/

Force Samba Unmount

A Samba mount will become unresponsive if the host machine loses its connection somehow (ie. Windows crashes). You will not be able to unmount it even with a force (-f) because it claims the mount is busy. You must do a "lazy" umount which will bypass all checks and attempt to free up the resource later:

umount -l /mnt/samba/drive

My guess is that this can be dangerous if used improperly.