From owner-svn-src-stable@FreeBSD.ORG Tue Feb 7 22:31:17 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44762106564A; Tue, 7 Feb 2012 22:31:17 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3285D8FC12; Tue, 7 Feb 2012 22:31:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q17MVHJh010418; Tue, 7 Feb 2012 22:31:17 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q17MVHd5010416; Tue, 7 Feb 2012 22:31:17 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201202072231.q17MVHd5010416@svn.freebsd.org> From: Xin LI Date: Tue, 7 Feb 2012 22:31:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231167 - stable/8/contrib/smbfs/mount_smbfs X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 22:31:17 -0000 Author: delphij Date: Tue Feb 7 22:31:16 2012 New Revision: 231167 URL: http://svn.freebsd.org/changeset/base/231167 Log: MFC r225643,225644: Change the example of using smbfs in fstab to a password-less one, which is less likely to block a remote system from boot. Submitted by: Garrett Cooper PR: doc/160775 Modified: stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Directory Properties: stable/8/contrib/smbfs/ (props changed) Modified: stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 ============================================================================== --- stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Tue Feb 7 22:13:54 2012 (r231166) +++ stable/8/contrib/smbfs/mount_smbfs/mount_smbfs.8 Tue Feb 7 22:31:16 2012 (r231167) @@ -1,6 +1,6 @@ .\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $ .\" $FreeBSD$ -.Dd January 21, 2008 +.Dd September 17, 2011 .Dt MOUNT_SMBFS 8 .Os .Sh NAME @@ -157,11 +157,11 @@ mount_smbfs -I samba.mydomain.com //gues mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp .Ed .Pp -It is possible to use +It is also possible to use .Xr fstab 5 -for smbfs mounts: +for smbfs mounts (the example below doesn't prompt for a password): .Pp -.Dl "//guest@samba/public /smb/public smbfs rw,noauto 0 0" +.Dl "//guest@samba/public /smb/public smbfs rw,noauto,-N 0 0" .Sh AUTHORS .An Boris Popov Aq bp@butya.kz , .Aq bp@FreeBSD.org