aboutsummaryrefslogtreecommitdiff
path: root/man/man1/mount.1
blob: ec9f016e47f16439801c01401baff67539a1f2b8 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.TH MOUNT 1
.SH NAME
mount, unmount \- change name space
.SH SYNOPSIS
.B mount
.I servename
.I mtpt
.PP
.B unmount
.I mtpt
.SH DESCRIPTION
.I Mount
mounts a 9P server's files into the file system.
.I Servename
is typically 
either the name of a Unix domain socket
(see
.IR namespace (1))
or the name or IP address of a machine
serving 9P over TCP port 564.
.PP
.I Unmount
undoes the effects of the
.I mount
command.
.PP
9P services can be mounted on Unix systems in multiple ways.
On Linux,
.I mount
uses the native 9P kernel module when present.
Otherwise it tries to use
.IR 9pfuse (4)
with the FUSE file system module.
Using the 9P kernel module requires root access.
FUSE can often be used by regular users.
On FreeBSD,
.I mount
tries to use FUSE.
.PP
Since Unix already has a 
.I mount
command, the version described in this manual page
should be invoked as
.B 9
.BR mount .
.SH EXAMPLES
Mount 
.IR acme (4)
onto 
.B /mnt/acme :
.IP
.EX
9 mount `namespace`/acme /mnt/acme
.EE
.PP
View your plumbing rules:
.IP
.EX
9 mount `namespace`/plumb /mnt/plumb
cat /mnt/plumb/rules
.EE
.SH SOURCE
.B \*9/bin/mount
.br
.B \*9/bin/unmount
.SH SEE ALSO
.IR intro (4),
.IR intro (9p),
.IR 9pfuse (4)