summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorKarel Zak2016-12-08 14:55:02 +0100
committerKarel Zak2016-12-08 14:55:02 +0100
commit83601b1af924a666d86ad956d78e222ad222bea2 (patch)
tree72480e67259aa21f47eae6302f32323e072ec50e /libmount/src/libmount.h.in
parentfindmnt: add --tree to allow to enable tree output for --mtab (diff)
downloadkernel-qcow2-util-linux-83601b1af924a666d86ad956d78e222ad222bea2.tar.gz
kernel-qcow2-util-linux-83601b1af924a666d86ad956d78e222ad222bea2.tar.xz
kernel-qcow2-util-linux-83601b1af924a666d86ad956d78e222ad222bea2.zip
libmount: introduce X-* comments
x-* are fstab only and not stored in userspace (utab). In some cases it's not optional solution because the option is also necessary for umount or another operations. The X-* is exactly the same as x-*, but stored to utab (or mtab on old systems). It's usually bad idea to store mount options in userspace, but it's better to provide any solution that force users to bypass mount(8) (and friends) and implement 3rd-party incompatible solutions. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r--libmount/src/libmount.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index 86ff150c1..cbd4f000e 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -774,6 +774,7 @@ extern int mnt_context_set_syscall_status(struct libmnt_context *cxt, int status
#define MNT_MS_OFFSET (1 << 14)
#define MNT_MS_SIZELIMIT (1 << 15)
#define MNT_MS_ENCRYPTION (1 << 16)
+#define MNT_MS_XPERSIST (1 << 17)
/*
* mount(2) MS_* masks (MNT_MAP_LINUX map)