diff options
author | Roland Tapken <roland@bitarbeiter.net> | 2020-05-08 09:53:21 +0200 |
---|---|---|
committer | Roland Tapken <roland@bitarbeiter.net> | 2020-05-08 09:53:21 +0200 |
commit | b751cc9c5d9448c56fffef56eadfc6371cbbdbd3 (patch) | |
tree | f87c5b7d491694f117b72db5b6ceae591e42cf61 | |
parent | 38b32ba5fcad92d28311c6dc0415e41c69799a74 (diff) | |
download | bindfs-b751cc9c5d9448c56fffef56eadfc6371cbbdbd3.tar.gz |
Added man page entry
-rw-r--r-- | src/bindfs.1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bindfs.1 b/src/bindfs.1 index 90b3d8c..c5dea30 100644 --- a/src/bindfs.1 +++ b/src/bindfs.1 @@ -68,6 +68,22 @@ the corresponding behavior of this option. Requires mounting as root. .TP +.B \-\-map-passwd=\fI<passwdfile>\fP, \-o map-passwd=... +.PD 0 +.TP +.B \-\-map-group=\fI<groupfile>\fP, \-o map-group=... +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 + +Requires mounting as root. + +.TP .B \-\-uid\-offset=..., \-o uid\-offset=... Works like \-\-map, but adds the given number to all file owner user IDs. For instance, \fB--uid-offset=100000\fP causes a file owned by user \fI123\fP |