aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindfs.112
1 files changed, 7 insertions, 5 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1
index c5dea30..c1450f2 100644
--- a/src/bindfs.1
+++ b/src/bindfs.1
@@ -66,20 +66,22 @@ Currently, the options \fB--force-user\fP, \fB--force-group\fP, \fB--mirror\fP,
the corresponding behavior of this option.
Requires mounting as root.
-
.TP
-.B \-\-map-passwd=\fI<passwdfile>\fP, \-o map-passwd=...
+.B \-\-map-passwd=\fI<passwdfile>\fP, \-o map-passwd=\fI<passwdfile>\fP
.PD 0
.TP
-.B \-\-map-group=\fI<groupfile>\fP, \-o map-group=...
+.B \-\-map-group=\fI<groupfile>\fP, \-o map-group=\fI<groupfile>\fP
Like \fB--map=...\fP, but reads the UID/GID mapping from passwd and group
files (like \fI/etc/passwd\fP and \fI/etc/group\fP). Helpful to restore
system backups where UIDs/GIDs differ.
Example usage:
-bindfs --map-passwd=/mnt/orig/etc/passwd \\ --map-passwd=/mnt/orig/etc/group
- /mnt/orig /mnt/mapped\fP
+\& bindfs --map-passwd=/mnt/orig/etc/passwd \\
+.br
+\& \--map-passwd=/mnt/orig/etc/group \\
+.br
+\& /mnt/orig /mnt/mapped
Requires mounting as root.