.TH SMBFS 1 .SH NAME smbfs \- provider process that serves a mounted SMB share .SH SYNOPSIS .B smbfs .I //host/share .RB [ \-\-user .IR NAME ] .RB [ \-\-domain .IR NAME ] .RB [ \-\-port .IR N ] .RB [ \-\-label .IR TEXT ] .RB [ \-\-ro ] .SH DESCRIPTION .B smbfs logs on to an SMB server, registers a drive with the kernel and answers every file operation made on that drive by talking SMB to the server. It is normally started by Files or by .BR smb (1) rather than by hand. .PP The password is read from the SMB_PASSWORD environment variable so that it never appears in an argument list. .PP On startup one status line is written to standard output: .B OK .I drive when the share is mounted, or .B ERR .I status message when it could not be. .PP The share stays mounted until the process exits. Ejecting the drive asks it to close its files, log off and exit. If the connection drops it reconnects on the next file operation. .SH SEE ALSO .BR smb (1)