]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: (monitor) rename public API to "mountinfo"
authorKarel Zak <kzak@redhat.com>
Wed, 6 Aug 2025 12:09:12 +0000 (14:09 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Aug 2025 13:08:38 +0000 (15:08 +0200)
commitcfebab23ab06cf2b646b4c0afdbc0ebb9e25c6dd
tree854d82601c9d1d57b0cb1aee95928aea5dedfc1b
parent938264b1ff764ea60e8c9fb257bddc2070850b86
libmount: (monitor) rename public API to "mountinfo"

There will be more kernel monitors in the future. Ensure the API is
easy to understand.

* Rename MNT_MONITOR_TYPE_KERNEL to MNT_MONITOR_TYPE_MOUNTINFO

* Rename mnt_monitor_enable_kernel() to mnt_monitor_enable_mountinfo()

The change is backward compatible; the old names are still usable.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/docs/libmount-sections.txt
libmount/src/libmount.h.in
libmount/src/libmount.sym
libmount/src/monitor.c
libmount/src/monitor_mountinfo.c