Sunday, July 1, 2007

Mount a windows share on Linux with samba

make sure smbfs is installed ( sudo apt-get install smbfs )

Test the windows shares:
smbclient -L -U

Make a directory for the mount point:
mkdir /mnt/name-of-mount-point

Mount the share:
mount -t smbfs -o username=,password= /mnt/name-of-mount-point

Create a symbolic link:
ln -s /mnt/name-of-mount-point /path-to-symlink



No comments: