2012-02-17

Mounting Samba/Windows Share as directory

To be able to mount shares, smbfs is needed:

sudo apt-get install smbfs

Then we need some directory to mount to:

sudo mkdir /media/remote-music

Now, it's time to mount the share:
sudo mount -t smbfs //myserver/music /media/remote-music -o username=someuser,password=somepass
Remember, if needed at boot time, some more work is needed: a new entry in fstab is required.