permanent network mount?
i mount a network drive //gtp/Music
to the desktop folder /root/.gnome-desktop/Music with the smbmount command how can i mount this drive permanently even after reboots? i tired editing my /etc/fstab with gedit but it didnt work. thanks for your help! |
did you edit fstab correctly?
--after editing, can you issue 'mount <mount point>' and it works? --after reboot, has fstab contents changed? |
//gtp/Music /root/.gnome-desktop/Music smbfs username=<name>,password=<pass>,netdev,soft ,_intr1 0
i put this in, rebooted. but i didnt remount... once i remount will it stay so the next reboot it will be in the ~/.gnome-desktop/Music folder? |
is that right? should i try it again?
|
well, a couple things here -- i'm not familiar with all those options, but number one no-no is putting the logon credientals in the fstab file -- that's bad practice, because all users can see the contents.
number 2: do you use root as your regular user? -- this is bad, you should create an un-privledged account for day-to-day tasks. here's an example for you, i have a similar setup, and my fstab contains the line: Code:
//patsy/psc /home/psc/smb smbfs uid=1000,gid=100,credentials=/root/patsy 0 0 uid 1000 = user 'psc' gid 100 = group 'users' now the file /root/patsy contains: Code:
username = psc |
fyi:
also, i have an entry for patsy (which has a static IP) in my /etc/hosts file, otherwise she should be referenced by IP, but that doesn't seem to be your problem |
All times are GMT -5. The time now is 05:40 PM. |