From 3fc6c7846fcf96784427d92e2c1da4023249a5d1 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 30 Jan 2014 16:40:53 +0100 Subject: [PATCH] pkg/mount: Add "private" flag This allows "mount --make-private" functionallity. Docker-DCO-1.1-Signed-off-by: Alexander Larsson (github: alexlarsson) --- mount/flags_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mount/flags_linux.go b/mount/flags_linux.go index 6f4c7ac..483f129 100644 --- a/mount/flags_linux.go +++ b/mount/flags_linux.go @@ -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},