summaryrefslogtreecommitdiff
path: root/libpod/mounts_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-27 03:29:17 -0800
committerGitHub <noreply@github.com>2018-11-27 03:29:17 -0800
commit049defa98426c50dab781c0493d54aca00a7fbb8 (patch)
treeb42297bbcee5e0028b636a6453d677e04fe7070a /libpod/mounts_linux.go
parent1d3e24239aa525640bcc9cef4864fb04d69143ed (diff)
parent0e2042ebd72c0053513ea4979926e071e1eefddc (diff)
downloadpodman-049defa98426c50dab781c0493d54aca00a7fbb8.tar.gz
podman-049defa98426c50dab781c0493d54aca00a7fbb8.tar.bz2
podman-049defa98426c50dab781c0493d54aca00a7fbb8.zip
Merge pull request #1850 from vrothberg/mount-propagation
set root propagation based on volume properties
Diffstat (limited to 'libpod/mounts_linux.go')
-rw-r--r--libpod/mounts_linux.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/libpod/mounts_linux.go b/libpod/mounts_linux.go
new file mode 100644
index 000000000..e6aa09eac
--- /dev/null
+++ b/libpod/mounts_linux.go
@@ -0,0 +1,18 @@
+// +build linux
+
+package libpod
+
+const (
+ // MountPrivate represents the private mount option.
+ MountPrivate = "private"
+ // MountRPrivate represents the rprivate mount option.
+ MountRPrivate = "rprivate"
+ // MountShared represents the shared mount option.
+ MountShared = "shared"
+ // MountRShared represents the rshared mount option.
+ MountRShared = "rshared"
+ // MountSlave represents the slave mount option.
+ MountSlave = "slave"
+ // MountRSlave represents the rslave mount option.
+ MountRSlave = "rslave"
+)