Karl Zander wrote:

There is a Windows share that we would like to mount at boot time. Is that possible?

We have smbsf compiled into the kernel. Using smbmount we can mount and access that share now. Is it somehow possible to put this into /etc/fstab so it can mount at boot? Or is there another way?

--Karl

Yes,

If you put it in fstab as filesystem type 'smbfs', and set the volume (usually /dev/hda/) to the share address (//sambahost/shared), you can specify the username and password in the options field. Normally this is 'defaults' or 'noauto,noatime' or something similar, but for samba you can put 'username=bob,password=pass'. Check the man page for smbmount. Anything that can be specified for the -o option is valid for that field.

Hope that helps,

James
--
[email protected] mailing list



Reply via email to