pkg/mount: Add "private" flag
This allows "mount --make-private" functionallity. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
This commit is contained in:
parent
8520c2e940
commit
3fc6c7846f
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ func parseOptions(options string) (int, string) {
|
|||
"nodiratime": {false, syscall.MS_NODIRATIME},
|
||||
"bind": {false, syscall.MS_BIND},
|
||||
"rbind": {false, syscall.MS_BIND | syscall.MS_REC},
|
||||
"private": {false, syscall.MS_PRIVATE},
|
||||
"relatime": {false, syscall.MS_RELATIME},
|
||||
"norelatime": {true, syscall.MS_RELATIME},
|
||||
"strictatime": {false, syscall.MS_STRICTATIME},
|
||||
|
|
Loading…
Reference in a new issue