From fc1169a220196b78b73d5c1874d3c7bdc38d9fe3 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) --- pkg/mount/flags_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mount/flags_linux.go b/pkg/mount/flags_linux.go index 6f4c7acffa..483f12904d 100644 --- a/pkg/mount/flags_linux.go +++ b/pkg/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},