feat: add SMB networking support
This commit is contained in:
1 parent
6665750528
commit
2af2e90606
55 files changed
+7456
-158
No files matched your search
@@ -0,0 +1,61 @@
|
||||
.TH SMB 1
|
||||
.SH NAME
|
||||
smb \- list, mount and unmount SMB network shares
|
||||
.SH SYNOPSIS
|
||||
.B smb
|
||||
.I command
|
||||
.RI [ options ]
|
||||
.SH DESCRIPTION
|
||||
.B smb
|
||||
connects to file servers that speak SMB 2 or SMB 3 (Windows, Samba, most NAS devices).
|
||||
A mounted share becomes an ordinary drive, usable by every program.
|
||||
Mounting is done by the
|
||||
.BR smbfs (1)
|
||||
helper, which keeps running for as long as the share is mounted.
|
||||
.SH COMMANDS
|
||||
.TP
|
||||
.B shares \fI//host\fR
|
||||
List the shares a server offers.
|
||||
.TP
|
||||
.B mount \fI//host/share\fR
|
||||
Mount a share and print the drive it was given.
|
||||
.TP
|
||||
.B list
|
||||
Show the shares that are mounted.
|
||||
.TP
|
||||
.B unmount \fIdrive\fR
|
||||
Disconnect a mounted share, for example
|
||||
.BR "smb unmount 32" .
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-\-user \fINAME\fR
|
||||
Log on as NAME. Without a user name the guest account is tried.
|
||||
.TP
|
||||
.B \-\-domain \fINAME\fR
|
||||
Domain or workgroup of the account.
|
||||
.TP
|
||||
.B \-\-password \fIPW\fR
|
||||
Password. If omitted, the SMB_PASSWORD environment variable is used, and
|
||||
otherwise you are asked for it.
|
||||
.TP
|
||||
.B \-\-port \fIN\fR
|
||||
Server port (default 445).
|
||||
.TP
|
||||
.B \-\-label \fITEXT\fR
|
||||
Drive label for a mounted share.
|
||||
.TP
|
||||
.B \-\-ro
|
||||
Mount read-only.
|
||||
.SH ADDRESSES
|
||||
A share is written
|
||||
.IR //host/share ,
|
||||
.I smb://host/share
|
||||
or
|
||||
.IR \e\ehost\eshare .
|
||||
A user may be included as
|
||||
.IR smb://user@host/share .
|
||||
.SH LIMITS
|
||||
SMB 1, Kerberos logons and SMB 3 encryption are not supported. A server or
|
||||
share that insists on encryption is refused.
|
||||
.SH SEE ALSO
|
||||
.BR smbfs (1)
|
||||
Reference in new issue
Block a user