fstab and samba?
I am not having any luck mounting my samba share by using my fstab file
below is what I have in my fstab Code:
//marsala/My\ Documents /home/shane/samba smbfs username=root,password=<password>,users,noauto 0 0 Code:
shane@mainbox shane $ mount samba I am able to mount my share manually using this command Code:
mount -t smbfs //marsala/My\ Documents /home/shane/samba |
You can't mount samba shares via fstab when the exported name contains spaces. The best way to fix this would be to share the folder with an underscore in place of the space. I guess, alternatively, you could create a startup script and mount the share with it. I'm not sure about gentoo but for debian I would create a script(chmod +x) called "S99mountshare", containing:
Code:
#!/bin/sh |
I've never been able to mount an fstab defined mountpoint that contains a space. Best bet, use an underscore.
|
All times are GMT -5. The time now is 11:39 AM. |