30feaaf87b51389eebd80944a74f85435e27b48d
[samba.git] / docs / manpages / smbmount.8
1 .TH SMBMOUNT 8 "19 Sep 1998" "smbmount 2.0.0-alpha6"
2 .SH NAME
3 smbmount \- mount smb file system
4 .SH SYNOPSIS
5 .B smbmount
6 [
7 .B options
8 ]
9
10 .SH DESCRIPTION
11 .B smbmount 
12 is a stripped-down version of the 
13 .BI smbclient (1)
14 program used to mount smbfs shares. It implements only the mount command,
15 which then calls the
16 .BI smbmnt (8)
17 program to do the actual mount.
18 .B smbmount
19 itself accepts most of the options that
20 .B smbclient
21 does. See the
22 .BI smbclient (1)
23 manpage for details.
24
25 To mount an smb file system, I suggest using the option
26 .B -c
27 for smbmount to pass the mount command. For example, use
28
29 smbmount "\\\\server\\tmp" -c 'mount /mnt -u 123 -g 456'
30
31 to mount the tmp share of server on /mnt, giving it a local uid 123
32 and a local gid 456.
33
34 The arguments supplied to the mount command are passed directly to the
35 .B smbmnt
36 utility for processing.
37 Refer to the
38 .BI smbmnt (8)
39 manpage for details.
40
41 .SH SEE ALSO
42 .BI smbmnt (8),
43 .BI smbclient (1)
44