]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: update info about env debug variables
authorKarel Zak <kzak@redhat.com>
Mon, 3 Nov 2014 12:13:54 +0000 (13:13 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Nov 2014 12:13:54 +0000 (13:13 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
18 files changed:
Documentation/howto-debug.txt
disk-utils/cfdisk.8
disk-utils/fdisk.8
disk-utils/fsck.8
disk-utils/mkswap.8
disk-utils/partx.8
disk-utils/sfdisk.8
disk-utils/swaplabel.8
lib/terminal-colors.d.5
misc-utils/blkid.8
misc-utils/findfs.8
misc-utils/findmnt.8
misc-utils/lsblk.8
misc-utils/wipefs.8
sys-utils/mount.8
sys-utils/mountpoint.1
sys-utils/swapon.8
sys-utils/umount.8

index ca7346fbeac2db01aaf65d8da2a6e879ee44027d..6936eb54d48f3359b2f430e61fa7b92002da6feb 100644 (file)
@@ -51,8 +51,10 @@ higher the debugging level. Search for `DEBUG' from files
 to see what the different bits mean. At the time of writing this the following
 enabled full debug.
 
-       export LIBBLKID_DEBUG=0xffff
-       export LIBMOUNT_DEBUG=0xffff
+       export LIBBLKID_DEBUG=all
+       export LIBMOUNT_DEBUG=all
+       export LIBFDISK_DEBUG=all
+       export LIBSMARTCOLS_DEBUG=all
 
 The libblkid reads by default /etc/blkid.conf which can be overridden by the
 environment variable BLKID_CONF. See manual libblkid/libblkid.3 for details
index 6471de66928820a64bfd65179545386a46a4fc59..0c68af897e99b0b3fc93002bb4c7097e05309c58 100644 (file)
@@ -150,6 +150,14 @@ for more details about colorization configuration.
 .B cfdisk
 does not support color customization with a color-scheme file.
 
+.SH ENVIRONMENT
+.IP LIBFDISK_DEBUG=all
+enables libfdisk debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+.IP LIBSMARTCOLS_DEBUG=all
+enables libsmartcols debug output.
+
 .SH "SEE ALSO"
 .BR fdisk (8),
 .BR sfdisk (8),
index 9ed342e4e18e7d15e294566ed34f7655a8cf4a29..c998e2ca549b6b05785168654a7685252859732a 100644 (file)
@@ -304,7 +304,12 @@ The original version was written by
 Andries E. Brouwer, A. V. Le Blanc and others.
 
 .SH ENVIRONMENT
-.IP "Setting LIBFDISK_DEBUG=0xffff enables debug output."
+.IP LIBFDISK_DEBUG=all
+enables libfdisk debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+.IP LIBSMARTCOLS_DEBUG=all
+enables libsmartcols debug output.
 
 .SH "SEE ALSO"
 .BR cfdisk (8),
index 833fca2aa8105a9ed9e1f40d768a8338521c896e..531bcf50c8a6c898a3cdd695cbc02fdf18d876ff 100644 (file)
@@ -436,11 +436,11 @@ to override the standard location of the
 file.  It is also useful for developers who are testing
 .BR fsck .
 .TP
-.B LIBBLKID_DEBUG=0xffff
-enables debug output.
+.B LIBBLKID_DEBUG=all
+enables libblkid debug output.
 .TP
-.B LIBMOUNT_DEBUG=0xffff
-enables debug output.
+.B LIBMOUNT_DEBUG=all
+enables lilbmount debug output.
 .SH SEE ALSO
 .na
 .BR fstab (5),
index b4bb7d677a9ccef1d9f2b7d96f05a775007e47d5..c110d21efd07f77d9d043946d7dc4902a50775eb 100644 (file)
@@ -134,8 +134,8 @@ Note that a swap file must not contain any holes (so, using
 to create the file is not acceptable).
 
 .SH ENVIRONMENT
-.IP LIBBLKID_DEBUG=0xffff
-enables debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 
 .SH "SEE ALSO"
 .BR fdisk (8),
index 5ceb2044ecec86045c7185eb1652a0dc60b66fc1..88eef60b1561b73ce19cc8c5715d6035f1fa7924 100644 (file)
@@ -168,8 +168,8 @@ The original version was written by
 Andries E.\& Brouwer
 .ME .
 .SH ENVIRONMENT
-.IP LIBBLKID_DEBUG=0xffff
-enables debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 .SH AVAILABILITY
 The partx command is part of the util-linux package and is available from
 .UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
index 029083fc913821df82844a2e8b13e98e52a591f8..e672d39d7e8f2671e59512db7b8038bda5ca5413 100644 (file)
@@ -344,6 +344,14 @@ sfdisk since version 2.25 does not provide \fB\-\-DOS\fR, \fB\-\-IBM\fR, \fB\-\-
 \fB\-\-unhide\fR, \fB\-\-show\-extended\fR, \fB\-\-cylinders\fR, \fB\-\-heads\fR, \fB\-\-sectors\fR,
 \fB\-\-inside\-outer\fR, \fB\-\-not\-inside\-outer\fR options.
 
+.SH ENVIRONMENT
+.IP LIBFDISK_DEBUG=all
+enables libfdisk debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+.IP LIBSMARTCOLS_DEBUG=all
+enables libsmartcols debug output.
+
 .SH "SEE ALSO"
 .BR fdisk (8),
 .BR cfdisk (8),
index 0f83b2db2ce245113f3860e88a6e78d6c439303f..2985dfc368b2c19f357f7ff121e5a01ac75a29d7 100644 (file)
@@ -59,8 +59,8 @@ must be in the standard 8-4-4-4-12 character format, such as is output by
 .B swaplabel
 was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>.
 .SH ENVIRONMENT
-.IP LIBBLKID_DEBUG=0xffff
-enables debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 .SH AVAILABILITY
 The swaplabel command is part of the util-linux package and is available from
 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
index d19057faf1d0a8d8aebe9559f66d7058a2664a6a..7b39e613fb18321a2abd824d73a56e64e396d203 100644 (file)
@@ -170,7 +170,8 @@ use:
 .B /etc/terminal-colors.d
 
 .SH ENVIRONMENT
-Setting TERMINAL_COLORS_DEBUG=0xfffff enables debug output.
+.IP TERMINAL_COLORS_DEBUG=all
+enables debug output.
 
 .SH COMPATIBILITY
 The terminal-colors.d functionality is currently supported by all util-linux
index a974b8e99c7d292456fce2769c968e6d77352af3..7d1aa5b020dd102cf7957a861487d26a8d28309d 100644 (file)
@@ -298,7 +298,7 @@ file.
 was written by Andreas Dilger for libblkid and improved by Theodore Ts'o
 and Karel Zak.
 .SH ENVIRONMENT
-.IP "Setting LIBBLKID_DEBUG=0xffff enables debug output."
+.IP "Setting LIBBLKID_DEBUG=all enables debug output."
 .SH SEE ALSO
 .BR libblkid (3),
 .BR findfs (8),
index 32b74b423f8db69361996427af9131832376b096..385414f75461d56341be429f86c1cd7b62a5fc3d 100644 (file)
@@ -72,8 +72,8 @@ and re-written for the util-linux package by
 Karel Zak
 .ME .
 .SH ENVIRONMENT
-.IP LIBBLKID_DEBUG=0xffff
-enables debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 .SH SEE ALSO
 .BR blkid (8),
 .BR lsblk (8),
index a6318ed6e1b846577931b34b1d8ea2c622f6b055..27121d87f6048c8b371c0529aaf44879ad875e74 100644 (file)
@@ -247,8 +247,10 @@ Monitors remounts to read-only mode on all ext3 filesystems.
 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
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output
+.IP LIBSMARTCOLS_DEBUG=all
+enables libsmartcols debug output
 .SH AUTHORS
 .nf
 Karel Zak <kzak@redhat.com>
index d11a7900968dec68592dc294239aa5f5e7360f8a..8c9740c11fd2a4b4daf673d0932067b0693cad09 100644 (file)
@@ -142,7 +142,12 @@ Milan Broz <mbroz@redhat.com>
 Karel Zak <kzak@redhat.com>
 .fi
 .SH ENVIRONMENT
-.IP "Setting LIBMOUNT_DEBUG=0xffff enables debug output."
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output.
+.IP LIBSMARTCOLS_DEBUG=all
+enables libsmartcols debug output.
 .SH SEE ALSO
 .BR findmnt (8),
 .BR blkid (8),
index 207b67501afc88ecad7adb97af08cda531360448..13cadb45655af7d5d2a8a0d54af072a289c2499a 100644 (file)
@@ -98,7 +98,8 @@ Restores ext2 signature from the backup file  ~/wipefs-sdb-0x00000438.bak.
 .SH AUTHOR
 Karel Zak <kzak@redhat.com>
 .SH ENVIRONMENT
-.IP "Setting LIBBLKID_DEBUG=0xffff enables debug output."
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 .SH SEE ALSO
 .BR blkid (8),
 .BR findfs (8)
index 926f6e7a7128011de4e3d14bfba0b7f6ae31dabc..931fad16baca6ca8f386205b7ead50b976f123ca 100644 (file)
@@ -3118,11 +3118,13 @@ temporary file
 a list of filesystem types to try
 .SH ENVIRONMENT
 .IP LIBMOUNT_FSTAB=<path>
-overrides the default location of the fstab file
+overrides the default location of the fstab file (ignored for suid)
 .IP LIBMOUNT_MTAB=<path>
-overrides the default location of the mtab file
-.IP LIBMOUNT_DEBUG=0xffff
-enables debug output
+overrides the default location of the mtab file (ignored for suid)
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output
 .SH "SEE ALSO"
 .BR mount (2),
 .BR umount (2),
index 078ba2506fd5ce204819a1a52820fb3b081e42f8..c410f8167eee560d57be2a456ec8762e6d918ded 100644 (file)
@@ -43,8 +43,8 @@ Zero if the directory or file is a mountpoint, non-zero if not.
 .PP
 Karel Zak <kzak@redhat.com>
 .SH ENVIRONMENT
-.IP LIBMOUNT_DEBUG=0xffff
-enables debug output.
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output.
 .SH NOTES
 .PP
 The util-linux
index cf66b01ca51b3c8ba9ca15e20de401885de1ba90..84047ae166a142ec3b93bdd1dfc3e0d050929534 100644 (file)
@@ -233,6 +233,8 @@ made.
 .SH ENVIRONMENT
 .IP LIBMOUNT_DEBUG=all
 enables libmount debug output.
+.IP LIBBLKID_DEBUG=all
+enables libblkid debug output.
 
 .SH SEE ALSO
 .BR swapon (2),
index 8a640f44d8c1eb9677729c280ca2175831ca6f56..b0bfa9a84ef1f2091badbeb5641bbf7354d22173 100644 (file)
@@ -188,11 +188,11 @@ table of mounted filesystems
 table of known filesystems
 .SH ENVIRONMENT
 .IP LIBMOUNT_FSTAB=<path>
-overrides the default location of the fstab file
+overrides the default location of the fstab file (ignored for suid)
 .IP LIBMOUNT_MTAB=<path>
-overrides the default location of the mtab file
-.IP LIBMOUNT_DEBUG=0xffff
-enables debug output
+overrides the default location of the mtab file (ignored for suid)
+.IP LIBMOUNT_DEBUG=all
+enables libmount debug output
 .SH "SEE ALSO"
 .BR umount (2),
 .BR mount (8),