summaryrefslogtreecommitdiffstats
path: root/docs/manpages/smbmount.8
blob: 0255a668e1edc6ca97cf49faffbbb34aef8f74d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.TH SMBMOUNT 8 "08 Jan 1998" "smbmount 1.9.18"
.SH NAME
smbmount \- mount smb file system
.SH SYNOPSIS
.B smbmount
[
.B options
]

.SH DESCRIPTION
.B smbmount 
is a stripped-down version of the 
.BI smbclient (1)
program used to mount smbfs shares. It implements only the mount command,
which then calls the
.BI smbmnt (8)
program to do the actual mount.
.B smbmount
itself accepts most of the options that
.B smbclient
does. See the
.BI smbclient (1)
manpage for details.

To mount an smb file system, I suggest using the option
.B -c
for smbmount to pass the mount command. For example, use

smbmount "\\\\server\\tmp" -c 'mount /mnt -u 123 -g 456'

to mount the tmp share of server on /mnt, giving it a local uid 123
and a local gid 456.

The arguments supplied to the mount command are passed directly to the
.B smbmnt
utility for processing.
Refer to the
.BI smbmnt (8)
manpage for details.

.SH SEE ALSO
.BI smbmnt (8),
.BI smbclient (1)