libmount: document LIBMOUNT_DEBUG users
PATCH 2/2 libmount: document LIBMOUNT_DEBUG users
Update the manpages of programs that use this environment variable for extra debugging information.
Signed-off-by Davidlohr Bueso <[email protected]>
--- disk-utils/fsck.8 | 3 +++ misc-utils/lsblk.8 | 3 +++ sys-utils/mountpoint.1 | 4 ++++ sys-utils/swapon.8 | 4 ++++ sys-utils/umount.8 | 7 +++++++ 5 files changed, 21 insertions(+), 0 deletions(-)
disk-utils/fsck.8 +3 -0
@@ -445,6 +445,9 @@ file. It is also useful for developers who are testing .TP .B LIBBLKID_DEBUG=0xffff enables debug output. +.TP +.B LIBMOUNT_DEBUG=0xffff +enables debug output. .SH SEE ALSO .BR fstab (5), .BR mkfs (8),
misc-utils/lsblk.8 +3 -0
@@ -95,6 +95,9 @@ the time of kernel build. Milan Broz <[email protected]> Karel Zak <[email protected]> .fi +.SH ENVIRONMENT +.IP LIBMOUNT_DEBUG=0xffff +enables debug output. .SH SEE ALSO .BR findmnt (8), .BR blkid (8),
sys-utils/mountpoint.1 +4 -0
@@ -29,12 +29,16 @@ Zero if the directory is a mountpoint, non-zero if not. .SH AUTHOR .PP Karel Zak <[email protected]> +.SH ENVIRONMENT +.IP LIBMOUNT_DEBUG=0xffff +enables debug output. .SH NOTES .PP The util-linux .B mountpoint implementation was written from scratch for libmount. The original version for sysvinit suite was written by Miquel van Smoorenburg. + .SH SEE ALSO .BR mount (8) .SH AVAILABILITY
sys-utils/swapon.8 +4 -0
@@ -217,6 +217,10 @@ log as "swapon: swapfile has holes." One possible workaround is to map the file to a loopback device. This will allow the file system to determine the mapping properly but may come with a performance impact. +.SH ENVIRONMENT +.IP LIBMOUNT_DEBUG=0xffff +enables debug output. + .SH SEE ALSO .BR swapon (2), .BR swapoff (2),
sys-utils/umount.8 +7 -0
@@ -160,6 +160,13 @@ The helper= mount option redirects all umount requests to the .SH FILES .I /etc/mtab table of mounted file systems +.SH ENVIRONMENT +.IP LIBMOUNT_FSTAB=<path> +overrides the default location of the fstab file +.IP LIBMOUNT_MTAB=<path> +overrides the default location of the mtab file +.IP LIBMOUNT_DEBUG=0xffff +enables debug output .SH "SEE ALSO" .BR umount (2), .BR mount (8),
Signature · 1 line
1.7.4.1
Quoted 6 lines · Davidlohr Bueso
disk-utils/fsck.8 | 3 +++ misc-utils/lsblk.8 | 3 +++ sys-utils/mountpoint.1 | 4 ++++ sys-utils/swapon.8 | 4 ++++ sys-utils/umount.8 | 7 +++++++ 5 files changed, 21 insertions(+), 0 deletions(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com