Author Topic: automounting Samba shares using fstab?  (Read 2298 times)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
automounting Samba shares using fstab?
« on: April 12, 2004, 11:47:51 pm »
I\'m able to mount samba shares manually (or by calling a script):

# smbmount //PCName/linuxdata /home/pc/l -o username=USER,password=XXX

but if I include this line in fstab:
//PCName/music  /home/pc/m      smbfs   username=USER,password=XXX     0  0

and I type at the command line:
# mount /home/pc/m
mount: Mounting //PCName/music on /home/pc/m failed: Invalid argument

Note that I\'m running mount longed in as root.

If I issue the command
# smbmnt /home/pc/m/
it apparently works, but running mount shows this (other entries elided):
# mount
none on /home/pc/m type smbfs (rw,file_mode=0755,dir_mode=0755)

What do I need to have in fstab to get mount mountpoint to work for samba shares?

Thanks!
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD