>>> On 3/18/2009 at 2:18 PM, Mark D Vandale <[email protected]> wrote: > Can smbfs be mounted from /etc/fstab ? I can issue the cmd "mount -f > smbfs //ipaddress/dirname /dirname username=testid,password=testpw" and > get the smbfs mounted but I can't get this mounted by adding a line in > the /etc/fstab . The format in the /etc/fstab is more like --> > //ipadress:/dirname /dirname smbfs ro,username=testid,password=testpw 0 > 0 Is this possible from /etc/fstab or do I need to do this from somewhere > else ? This is SUSE SLES10.
Sure you can do that, although it's not recommended to code the userid and password in /etc/fstab itself. (See credentials in "man smbmount".) Did you really have the colon between the ipaddress and dirname in /etc/fstab? That isn't likely to work. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
