From owner-freebsd-questions@FreeBSD.ORG Sun Aug 3 05:27:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEB7737B401 for ; Sun, 3 Aug 2003 05:27:24 -0700 (PDT) Received: from britersen.co.uk (britersen.co.uk [212.159.80.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9898D43FA3 for ; Sun, 3 Aug 2003 05:27:23 -0700 (PDT) (envelope-from petersen@petersen.plus.com) Received: from petersen (petersen@petersen.petenet.britersen.co.uk [192.168.1.1]) by britersen.co.uk (8.12.9/8.12.9) with ESMTP id h73CRKHn017939; Sun, 3 Aug 2003 13:27:20 +0100 (BST) (envelope-from petersen@petersen.plus.com) From: "Petersen" To: "'Alexander Farber'" Date: Sun, 3 Aug 2003 13:27:20 +0100 Message-ID: <045701c359ba$95ea8670$1530a8c0@petenet.britersen.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <20030803105944.GA30773@pref.my.domain> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: questions@freebsd.org Subject: RE: putting mount_smbfs -N into /etc/fstab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2003 12:27:25 -0000 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