mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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)
This commit is contained in:
parent
1dbf9dcc20
commit
cdbc601be1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225643
|
@ -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
|
mount_smbfs -I 192.168.20.3 -E koi8-r:cp866 //guest@samba/tmp /smb/tmp
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
It is possible to use
|
It is also possible to use
|
||||||
.Xr fstab 5
|
.Xr fstab 5
|
||||||
for smbfs mounts:
|
for smbfs mounts (the example below doesn't prompt for a password):
|
||||||
.Pp
|
.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
|
.Sh AUTHORS
|
||||||
.An Boris Popov Aq bp@butya.kz ,
|
.An Boris Popov Aq bp@butya.kz ,
|
||||||
.Aq bp@FreeBSD.org
|
.Aq bp@FreeBSD.org
|
||||||
|
|
Loading…
Reference in a new issue