mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-03 18:05:58 -04:00
fuse-overlayfs: change option names to uidmapping and gidmapping
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
c8c9a4aa2c
commit
7afb2f6a76
@ -19,5 +19,5 @@ $ fuse-overlayfs -o lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir m
|
||||
Specify a different UID/GID mapping:
|
||||
|
||||
```
|
||||
$ fuse-overlayfs -o uid=0:10:100:100:10000:2000,gid=0:10:100:100:10000:2000,lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged
|
||||
$ fuse-overlayfs -o uidmapping=0:10:100:100:10000:2000,gidmapping=0:10:100:100:10000:2000,lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged
|
||||
```
|
||||
|
4
main.c
4
main.c
@ -134,9 +134,9 @@ static const struct fuse_opt cfs_opts[] = {
|
||||
offsetof (struct cfs_data, upperdir), 0},
|
||||
{"workdir=%s",
|
||||
offsetof (struct cfs_data, workdir), 0},
|
||||
{"uid=%s",
|
||||
{"uidmapping=%s",
|
||||
offsetof (struct cfs_data, uid_str), 0},
|
||||
{"gid=%s",
|
||||
{"gidmapping=%s",
|
||||
offsetof (struct cfs_data, gid_str), 0},
|
||||
FUSE_OPT_END
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user