]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: add helper to log mount messages as emitted by kernel
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 5 Oct 2023 11:19:14 +0000 (13:19 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 5 Oct 2023 11:19:14 +0000 (13:19 +0200)
commit2d5e138e8c28e89fea8e3e960ca863787bb6fe91
treef7179e65e87ad3ad36b6200d88ad8a82c56436fb
parent8eb925b14a34d65e5e33861ea4aa1f565fb3d7ca
libmount: add helper to log mount messages as emitted by kernel

The kernel helpfully provides feedback about failed operations via the
filesystem descriptor. Read that information and expose it via libmounts
debug facilities.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libmount/src/hook_mount.c