Re: Mounting SMB shares...
- From: "Noozer" <dont.spam@xxxxxxx>
- Date: Fri, 30 Jun 2006 17:45:43 GMT
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!
.
- References:
- Mounting SMB shares...
- From: Noozer
- Re: Mounting SMB shares...
- From: Perfect Reign
- Re: Mounting SMB shares...
- From: Steve Norton
- Re: Mounting SMB shares...
- From: Don Raboud
- Mounting SMB shares...
- Prev by Date: Re: installing 10.1 on old laptop
- Next by Date: Re: Web-based remoting...
- Previous by thread: Re: Mounting SMB shares...
- Next by thread: FYI... SUSE 10.1 trashed my XP partition.
- Index(es):