]> git.ipfire.org Git - thirdparty/util-linux.git/commit - libmount/docs/libmount-sections.txt
libmount: add new libmnt_monitor API
authorKarel Zak <kzak@redhat.com>
Fri, 5 Dec 2014 14:30:04 +0000 (15:30 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 5 Dec 2014 14:30:04 +0000 (15:30 +0100)
commit372112e908e73a9737ad28ee7e33da271654baff
treef34a58c619de1e94942affb076b896044c6520a5
parent109df14fad4e9570e26950913ebace6c79289400
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>
include/fileutils.h
libmount/docs/libmount-docs.xml
libmount/docs/libmount-sections.txt
libmount/src/Makemodule.am
libmount/src/init.c
libmount/src/libmount.h.in
libmount/src/libmount.sym
libmount/src/monitor.c [new file with mode: 0644]
libmount/src/mountP.h
libmount/src/tab_diff.c