diff options
author | Xin LI <delphij@FreeBSD.org> | 2011-09-17 22:17:31 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2011-09-17 22:17:31 +0000 |
commit | cdbc601be1c61a7bab85a35a757eef96e7510b66 (patch) | |
tree | 06c081f39ad31999fadc349438e015078cdd7bd9 /contrib/smbfs/mount_smbfs | |
parent | 1dbf9dcc20ca9dcb5fde8e70f32760c3f165f3d0 (diff) | |
download | src-cdbc601be1c61a7bab85a35a757eef96e7510b66.tar.gz src-cdbc601be1c61a7bab85a35a757eef96e7510b66.zip |
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 <yanegomi@gmail.com>
PR: doc/160775
MFC after: 1 month
Approved by: re (kib)
Notes
Notes:
svn path=/head/; revision=225643
Diffstat (limited to 'contrib/smbfs/mount_smbfs')
-rw-r--r-- | contrib/smbfs/mount_smbfs/mount_smbfs.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/smbfs/mount_smbfs/mount_smbfs.8 b/contrib/smbfs/mount_smbfs/mount_smbfs.8 index 85ee6e3efefb..d781bbb3608e 100644 --- a/contrib/smbfs/mount_smbfs/mount_smbfs.8 +++ b/contrib/smbfs/mount_smbfs/mount_smbfs.8 @@ -157,11 +157,11 @@ mount_smbfs -I samba.mydomain.com //guest@samba/public /smb/public 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 |