MOUNT_SMBFS(8) | System Manager's Manual | MOUNT_SMBFS(8) |
mount_smbfs | [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights] [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount] [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode] [-g gid] [-n opt] [-u uid] // user@server/share node |
The options are as follows:
Note that these permissions can differ from the rights granted by SMB server.
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
If you keep on getting "Connection reset by peer" errors, try:
mount_smbfs -N -I 10.0.0.4 //'*SMBSERVER'/tmp /smb/tmp
It is possible to use fstab(5) for smbfs mounts:
//guest@samba/public /smb/public smbfs rw,noauto 0 0
November 9, 2003 | NetBSD 6.99 |