2013年6月5日 星期三

mount samba on ubuntu



sudo mount.cifs //hostname/sharename ~/mounts/sharename -o user=username,pass=password

sshfs on ubuntu

Use sshfs instead, there is no setup necessary at all and you get "proper" mount points that are recognized by any application:
sudo apt-get install sshfs
Mount the remote filesystem with
sshfs user@host:/path /local/mount/point
and unmount with
fusermount -u /local/mount/point