util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] libmount: document LIBMOUNT_DEBUG users
@ 2012-09-04 13:58 Davidlohr Bueso
  2012-09-04 15:24 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-09-04 13:58 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux

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      |    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(-)

diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8
index 1c89cfe..7779fe9 100644
--- a/disk-utils/fsck.8
+++ b/disk-utils/fsck.8
@@ -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),
diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8
index 4ed024f..ced0a13 100644
--- a/misc-utils/lsblk.8
+++ b/misc-utils/lsblk.8
@@ -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),
diff --git a/sys-utils/mountpoint.1 b/sys-utils/mountpoint.1
index 3c7d084..5eb4156 100644
--- a/sys-utils/mountpoint.1
+++ b/sys-utils/mountpoint.1
@@ -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
diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8
index ed4df55..e471d07 100644
--- a/sys-utils/swapon.8
+++ b/sys-utils/swapon.8
@@ -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),
diff --git a/sys-utils/umount.8 b/sys-utils/umount.8
index d073c55..f0fcd99 100644
--- a/sys-utils/umount.8
+++ b/sys-utils/umount.8
@@ -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),
-- 
1.7.4.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] libmount: document LIBMOUNT_DEBUG users
  2012-09-04 13:58 [PATCH 2/2] libmount: document LIBMOUNT_DEBUG users Davidlohr Bueso
@ 2012-09-04 15:24 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-09-04 15:24 UTC (permalink / raw)
  To: Davidlohr Bueso; +Cc: util-linux

On Tue, Sep 04, 2012 at 03:58:06PM +0200, Davidlohr Bueso wrote:
>  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.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-04 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04 13:58 [PATCH 2/2] libmount: document LIBMOUNT_DEBUG users Davidlohr Bueso
2012-09-04 15:24 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).