summaryrefslogtreecommitdiffstats
path: root/libmount/src/tab_diff.c
diff options
context:
space:
mode:
authorKarel Zak2014-12-05 15:30:04 +0100
committerKarel Zak2014-12-05 15:30:04 +0100
commit372112e908e73a9737ad28ee7e33da271654baff (patch)
treef34a58c619de1e94942affb076b896044c6520a5 /libmount/src/tab_diff.c
parentlibblkid: fix potential bufer overflows (diff)
downloadkernel-qcow2-util-linux-372112e908e73a9737ad28ee7e33da271654baff.tar.gz
kernel-qcow2-util-linux-372112e908e73a9737ad28ee7e33da271654baff.tar.xz
kernel-qcow2-util-linux-372112e908e73a9737ad28ee7e33da271654baff.zip
libmount: add new libmnt_monitor API
It's usually enough to us [e]poll() to monitor kernel mount table, but there is no way how to monitor changes in userspace mount options (e.g. _netdev). The management of these mount options is completely hidden in libmount and /rub/mount/utab is private libmount file. This patch introduces new libmnt_mount API to monitor also userspace mount table. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/tab_diff.c')
-rw-r--r--libmount/src/tab_diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/tab_diff.c b/libmount/src/tab_diff.c
index 970664bd8..1ebaffdfc 100644
--- a/libmount/src/tab_diff.c
+++ b/libmount/src/tab_diff.c
@@ -7,8 +7,8 @@
/**
* SECTION: tabdiff
- * @title: Monitor mountinfo changes
- * @short_description: monitor changes in the list of the mounted filesystems
+ * @title: Compare changes in mount tables
+ * @short_description: compare changes in the list of the mounted filesystems
*/
#include "mountP.h"