putting mount_smbfs -N into /etc/fstab

Petersen petersen at petersen.plus.com
Sun Aug 3 05:27:25 PDT 2003

Alexander Farber said:

> Hi,
> I have:
> //pref/pref /pref smbfs rw,noauto 0 0
> in my /etc/fstab and it works, but I have to press 
> the return key to submit the empty password when I 
> "mount /pref" and thus I have to use the noauto option.
> I there a way to put the mount_smbfs option "-N" and 
> also "-E koi8-r:cp866" into the /etc/fstab so that no 
> user interaction is required during the boot process? 
> I couldn't find the answer in "man mount_smbfs" nor
> in /usr/src/contrib/smbfs/mount_smbfs/* yet.

This can be solved with the smbfs config file.
Please see /usr/src/contrib/smbfs/examples/dot.nsmbrc


More information about the freebsd-questions mailing list