aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Tapken <roland@bitarbeiter.net>2020-05-08 09:55:22 +0200
committerRoland Tapken <roland@bitarbeiter.net>2020-05-08 09:55:22 +0200
commit8e3a87fd0240c1aac39b5fae6f43f63259619c3b (patch)
tree2c04bbe9f7bab802a456c6f88859eb477c828ce9 /src
parentb751cc9c5d9448c56fffef56eadfc6371cbbdbd3 (diff)
downloadbindfs-8e3a87fd0240c1aac39b5fae6f43f63259619c3b.tar.gz
Fixed man page entry
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.