Re: Mounting SMB shares...



This I knew. What I'd like is simply a /music folder in root... (or usr,
or all users home directory, or wherever the logical location would be
for user data)

...also want it mounted automagically at boot.

Steve, This is what I am doing in SuSE 9.3, but I think it should work.
This is based on
<http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html>
which you should look at.

First create the mount point (the /music directory) as above. Then edit
the /etc/fstab file as root (make a back up first as always) and add a
line
something like (all on one line)

//mce/media/music /music smbfs
rw,file_mode=0640,credentials=/home/<username>/smbpasswd,uid=user,gid=users
0 0

This is assuming that the SMB servers require some form of authentication
which is what the credentials option above is for. The file
/home/<username>/smbpasswd (or whatever you call it) is simply a text file
containing

username=<username>
password=<password>

for the smb share.

Hope this helps.

Very helpful. I should have realized that this should be is fstab... Just
got confused by the network part of it.

Thanks!


.