diff options
author | Karel Zak | 2010-12-22 13:15:04 +0100 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:48 +0100 |
commit | f84fa6f7b98dd00ef6f196815b18590ca50c3528 (patch) | |
tree | 6b7c7f0a084ea242240c2fb0d9980e954ae24fcc /shlibs/mount/src/optmap.c | |
parent | tests: check for mtab (diff) | |
download | kernel-qcow2-util-linux-f84fa6f7b98dd00ef6f196815b18590ca50c3528.tar.gz kernel-qcow2-util-linux-f84fa6f7b98dd00ef6f196815b18590ca50c3528.tar.xz kernel-qcow2-util-linux-f84fa6f7b98dd00ef6f196815b18590ca50c3528.zip |
libmount: better work with mtab options
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/optmap.c')
-rw-r--r-- | shlibs/mount/src/optmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/src/optmap.c b/shlibs/mount/src/optmap.c index d5f641096..38256b09d 100644 --- a/shlibs/mount/src/optmap.c +++ b/shlibs/mount/src/optmap.c @@ -99,7 +99,7 @@ static const struct mnt_optmap linux_flags_map[] = { "async", MS_SYNCHRONOUS, MNT_INVERT },/* asynchronous I/O */ { "dirsync", MS_DIRSYNC }, /* synchronous directory modifications */ - { "remount", MS_REMOUNT }, /* Alter flags of mounted FS */ + { "remount", MS_REMOUNT, MNT_NOMTAB }, /* alter flags of mounted FS */ { "bind", MS_BIND }, /* Remount part of tree elsewhere */ { "rbind", MS_BIND | MS_REC }, /* Idem, plus mounted subtrees */ #ifdef MS_NOSUB |