Quantcast
Viewing latest article 5
Browse Latest Browse All 21

automount samba shares as devices in /mnt/

$ sudo vi /etc/fstab; Go//smb-share/gino /mnt/place smbfs defaults,username=gino,password=pass 0 0<esc>:wq; mount //smb-share/gino

the middle command between the ; and ; is the vi commands that insert that line into the last line of the file, the esc with the carets is literally hitting the escape key, you have to have the smbfs package installed to do it, I use it to access my iTunes music on my mac from my linux PC's with amarok so I can play the music anywhere in the house. among other things, it allows you to access the files on that share from your computer anytime you're on that network.

Image may be NSFW.
Clik here to view.
commandlinefu.com

by David Winterbottom (codeinthehole.com)


Viewing latest article 5
Browse Latest Browse All 21

Trending Articles