mount
Mount
To have it mount automatically every time you boot, edit fstab:
gksu pluma /etc/fstab
then add an entry like this:
192.168.1.199:/share/name /media/sharename nfs users,rw,auto 0 0 # Samba share /etc/samba/credentials contains # user=samba_user # password=samba_pass # and is root:root 400 # file_mode=0664,dir_mode=0775,rw,nounix allow write mode //192.168.1.199/music /media/music cifs credentials=/etc/samba/credentials,file_mode=0664,dir_mode=0775,rw,nounix,gid=user_id 0 0
Save, close, and then reboot, or to load the new fstab entry without rebooting:
sudo mount -a
Source : http://superuser.com/a/510499
Conseil : on peut tester le mount unitaire avant de passer par la fstab :
sudo mount 192.168.1.199:/share/name /media/sharename -t nfs
Note : Une fois qu'un point de montage est dans la fstab, il n'y a plus qu'à le monter directement :
mount /mountpoint
mount.txt · Last modified: 2013/09/26 21:35 by ginko