Browse code

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)

Alexander Larsson authored on 2014/01/31 00:40:53
Showing 1 changed files
... ...
@@ -38,6 +38,7 @@ func parseOptions(options string) (int, string) {
38 38
 		"nodiratime":    {false, syscall.MS_NODIRATIME},
39 39
 		"bind":          {false, syscall.MS_BIND},
40 40
 		"rbind":         {false, syscall.MS_BIND | syscall.MS_REC},
41
+		"private":       {false, syscall.MS_PRIVATE},
41 42
 		"relatime":      {false, syscall.MS_RELATIME},
42 43
 		"norelatime":    {true, syscall.MS_RELATIME},
43 44
 		"strictatime":   {false, syscall.MS_STRICTATIME},