diff options
author | Karel Zak <kzak@redhat.com> | 2015-06-01 13:48:01 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-09-14 09:12:31 +0200 |
commit | d379d44255469f03994832ab5821bf1b9034f4dc (patch) | |
tree | 27194587d38c4ea1333e67caed64202ecca9ec20 /units/initrd.target | |
parent | 5669ef3644e3044036eeaaf6bb4b1a6a7e63130c (diff) |
mount: use libmount to monitor mountinfo & utab
The current implementation directly monitor /proc/self/mountinfo and
/run/mount/utab files. It's really not optimal because utab file is
private libmount stuff without any official guaranteed semantic.
The libmount since v2.26 provides API to monitor mount kernel &
userspace changes and since v2.27 the monitor is usable for
non-root users too.
This patch replaces the current implementation with libmount based
solution.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'units/initrd.target')
0 files changed, 0 insertions, 0 deletions