summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-03 16:04:19 +0100
committerDees Troy <dees_troy@teamw.in>2014-02-03 16:04:19 +0100
commitc4bc30ec4315283cfcec6415485c39509628a619 (patch)
treedb499e457e432cd48aaeed8f5afa882b28e74583 /partition.cpp
parentFix make file flag name for minzip (diff)
downloadandroid_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar.gz
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar.bz2
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar.lz
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar.xz
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.tar.zst
android_bootable_recovery-c4bc30ec4315283cfcec6415485c39509628a619.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 31b1bfdb3..cdd9847f3 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -74,10 +74,18 @@ static struct flag_list mount_flags[] = {
{ "remount", MS_REMOUNT },
{ "bind", MS_BIND },
{ "rec", MS_REC },
+#ifdef MS_UNBINDABLE
{ "unbindable", MS_UNBINDABLE },
+#endif
+#ifdef MS_PRIVATE
{ "private", MS_PRIVATE },
+#endif
+#ifdef MS_SLAVE
{ "slave", MS_SLAVE },
+#endif
+#ifdef MS_SHARED
{ "shared", MS_SHARED },
+#endif
{ "sync", MS_SYNCHRONOUS },
{ "defaults", 0 },
{ 0, 0 },