diff options
author | Karel Zak | 2012-01-25 17:14:24 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-25 17:14:24 +0100 |
commit | 5810d870970709684cee1219f3459b5cc3fc9915 (patch) | |
tree | 4dcebb6acbde599b8447c65a0ceefb87d9f92ee9 /libmount/src/libmount.h.in | |
parent | blkid: move cache to /run on new systems (diff) | |
download | kernel-qcow2-util-linux-5810d870970709684cee1219f3459b5cc3fc9915.tar.gz kernel-qcow2-util-linux-5810d870970709684cee1219f3459b5cc3fc9915.tar.xz kernel-qcow2-util-linux-5810d870970709684cee1219f3459b5cc3fc9915.zip |
libmount: don't pass comments=/x-* to mount.<type> helpers
This patch add a new flag MNT_NOHLPS for mount options map, options
with this flag will not be passed to /sbin/mount.<type> helpers.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 3cc1a79e7..c407b98a9 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -70,6 +70,7 @@ struct libmnt_optmap #define MNT_INVERT (1 << 1) /* invert the mountflag */ #define MNT_NOMTAB (1 << 2) /* skip in the mtab option string */ #define MNT_PREFIX (1 << 3) /* prefix used for some options (e.g. "x-foo") */ +#define MNT_NOHLPS (1 << 4) /* don't add the option to mount.<type> helpers command line */ /** * libmnt_fs: |