Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2003 13:27:20 +0100
From:      "Petersen" <petersen@petersen.plus.com>
To:        "'Alexander Farber'" <Alexander.Farber@t-online.de>
Cc:        questions@freebsd.org
Subject:   RE: putting mount_smbfs -N into /etc/fstab
Message-ID:  <045701c359ba$95ea8670$1530a8c0@petenet.britersen.co.uk>
In-Reply-To: <20030803105944.GA30773@pref.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Petersen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?045701c359ba$95ea8670$1530a8c0>