]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: document LIBMOUNT_DEBUG users
authorDavidlohr Bueso <dave@gnu.org>
Tue, 4 Sep 2012 13:58:06 +0000 (15:58 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Sep 2012 15:21:57 +0000 (17:21 +0200)
Update the manpages of programs that use this environment variable for
extra debugging information.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
disk-utils/fsck.8
misc-utils/lsblk.8
sys-utils/mountpoint.1
sys-utils/swapon.8
sys-utils/umount.8

index 1c89cfe69a19e2dcbd20ece55bf45a0ea48e6604..7779fe9c206cb516040e7fdbc1c26a9a15a392fb 100644 (file)
@@ -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),
index 4ed024f6659718cc8aac4cd114a5de150ba06dad..ced0a130ca180563b7bcf7176b445478fbb84a34 100644 (file)
@@ -95,6 +95,9 @@ the time of kernel build.
 Milan Broz <mbroz@redhat.com>
 Karel Zak <kzak@redhat.com>
 .fi
+.SH ENVIRONMENT
+.IP LIBMOUNT_DEBUG=0xffff
+enables debug output.
 .SH SEE ALSO
 .BR findmnt (8),
 .BR blkid (8),
index 3c7d0841e38fb381f0347b3cf1dddde2d6e9afae..5eb415692e6364a35349d2f3e330635e6e731a42 100644 (file)
@@ -29,12 +29,16 @@ Zero if the directory is a mountpoint, non-zero if not.
 .SH AUTHOR
 .PP
 Karel Zak <kzak@redhat.com>
+.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
index ed4df55f91309d0f38ebd734ea2e8d86fe30565e..e471d07d3cac0e8fd286a0730bcb0531789a2d4f 100644 (file)
@@ -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),
index d073c55dc52b45d556ceca420bf42223b2e4b3ea..f0fcd9969e9163c4da7895264572f25bca445997 100644 (file)
@@ -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),