-
Notifications
You must be signed in to change notification settings - Fork 0
/
unionfs.man
93 lines (93 loc) · 1.35 KB
/
unionfs.man
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.TH UNIONFS 4
.SH NAME
unionfs \- union file server
.SH SYNOPSIS
.B unionfs
[
.B -abiC
] [
.B -m
.I mtpt
] [
.B -s
.I srvname
] [
.B -c
]
.I path ....
.SH DESCRIPTION
.PP
.I Unionfs
serves a file tree representing a deep
merge of the trees given by the
.I path
arguments - this is unlike the standard set of
namespace operators which merge only at the
mountpoint level.
.PP
A
.I path
tree marked with the create flag
.I -c
is used as the destination for newly created
files; the first path in the list is used by default.
The path leading up to the new file or a directory
will be created if necessary.
.PP
The command line options are:
.TF ".............."
.TP
.B -a, -b, -C
Mount flags, see
.IR bind (1).
.TP
.BI -c \ path
Mark a
.I path
as the create destination.
.TP
.B -i
Talk on standard input / output.
.TP
.BI -m \ mtpt
Mount on
.IR mtpt ;
.I /mnt/union
by default.
.TP
.BI -s \ srvname
Post channel to
.RI /srv/ srvname .
.TP
.B -D
9P debug trace.
.PD
.SH EXAMPLES
Construct the
.I /bin
tree:
.PP
.EX
; unionfs -m /bin \\
$home/bin/$objtype $home/bin/rc \\
/rc/bin /$objtype/bin
.EE
.PP
Compile the system, redirecting all build
artifacts to a
.IR ramfs (4):
.PP
.EX
; ramfs -m /tmp
; unionfs -m /sys/src /tmp /sys/src
; @{cd /sys/src; mk install}
.EE
.SH SEE ALSO
.IR bind (1),
.IR bind (2),
.IR ramfs (4)
.SH SOURCE
.B git://code.a-b.xyz/unionfs
.SH BUGS
.PP
You're.