diff options
author | Karel Zak | 2014-11-03 13:13:54 +0100 |
---|---|---|
committer | Karel Zak | 2014-11-03 13:13:54 +0100 |
commit | 68e422ecae151d0e382fcb8a81d8d9c37d977a0b (patch) | |
tree | c5c6366cf414ba9b29f4724d342217e386c22aad | |
parent | libfdisk: clean up debug, add help debug mask (diff) | |
download | kernel-qcow2-util-linux-68e422ecae151d0e382fcb8a81d8d9c37d977a0b.tar.gz kernel-qcow2-util-linux-68e422ecae151d0e382fcb8a81d8d9c37d977a0b.tar.xz kernel-qcow2-util-linux-68e422ecae151d0e382fcb8a81d8d9c37d977a0b.zip |
docs: update info about env debug variables
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | Documentation/howto-debug.txt | 6 | ||||
-rw-r--r-- | disk-utils/cfdisk.8 | 8 | ||||
-rw-r--r-- | disk-utils/fdisk.8 | 7 | ||||
-rw-r--r-- | disk-utils/fsck.8 | 8 | ||||
-rw-r--r-- | disk-utils/mkswap.8 | 4 | ||||
-rw-r--r-- | disk-utils/partx.8 | 4 | ||||
-rw-r--r-- | disk-utils/sfdisk.8 | 8 | ||||
-rw-r--r-- | disk-utils/swaplabel.8 | 4 | ||||
-rw-r--r-- | lib/terminal-colors.d.5 | 3 | ||||
-rw-r--r-- | misc-utils/blkid.8 | 2 | ||||
-rw-r--r-- | misc-utils/findfs.8 | 4 | ||||
-rw-r--r-- | misc-utils/findmnt.8 | 6 | ||||
-rw-r--r-- | misc-utils/lsblk.8 | 7 | ||||
-rw-r--r-- | misc-utils/wipefs.8 | 3 | ||||
-rw-r--r-- | sys-utils/mount.8 | 10 | ||||
-rw-r--r-- | sys-utils/mountpoint.1 | 4 | ||||
-rw-r--r-- | sys-utils/swapon.8 | 2 | ||||
-rw-r--r-- | sys-utils/umount.8 | 8 |
18 files changed, 67 insertions, 31 deletions
diff --git a/Documentation/howto-debug.txt b/Documentation/howto-debug.txt index ca7346fbe..6936eb54d 100644 --- a/Documentation/howto-debug.txt +++ b/Documentation/howto-debug.txt @@ -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 diff --git a/disk-utils/cfdisk.8 b/disk-utils/cfdisk.8 index 6471de669..0c68af897 100644 --- a/disk-utils/cfdisk.8 +++ b/disk-utils/cfdisk.8 @@ -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), diff --git a/disk-utils/fdisk.8 b/disk-utils/fdisk.8 index 9ed342e4e..c998e2ca5 100644 --- a/disk-utils/fdisk.8 +++ b/disk-utils/fdisk.8 @@ -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), diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8 index 833fca2aa..531bcf50c 100644 --- a/disk-utils/fsck.8 +++ b/disk-utils/fsck.8 @@ -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), diff --git a/disk-utils/mkswap.8 b/disk-utils/mkswap.8 index b4bb7d677..c110d21ef 100644 --- a/disk-utils/mkswap.8 +++ b/disk-utils/mkswap.8 @@ -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), diff --git a/disk-utils/partx.8 b/disk-utils/partx.8 index 5ceb2044e..88eef60b1 100644 --- a/disk-utils/partx.8 +++ b/disk-utils/partx.8 @@ -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/ diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index 029083fc9..e672d39d7 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -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), diff --git a/disk-utils/swaplabel.8 b/disk-utils/swaplabel.8 index 0f83b2db2..2985dfc36 100644 --- a/disk-utils/swaplabel.8 +++ b/disk-utils/swaplabel.8 @@ -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/. diff --git a/lib/terminal-colors.d.5 b/lib/terminal-colors.d.5 index d19057faf..7b39e613f 100644 --- a/lib/terminal-colors.d.5 +++ b/lib/terminal-colors.d.5 @@ -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 diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index a974b8e99..7d1aa5b02 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -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), diff --git a/misc-utils/findfs.8 b/misc-utils/findfs.8 index 32b74b423..385414f75 100644 --- a/misc-utils/findfs.8 +++ b/misc-utils/findfs.8 @@ -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), diff --git a/misc-utils/findmnt.8 b/misc-utils/findmnt.8 index a6318ed6e..27121d87f 100644 --- a/misc-utils/findmnt.8 +++ b/misc-utils/findmnt.8 @@ -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> diff --git a/misc-utils/lsblk.8 b/misc-utils/lsblk.8 index d11a79009..8c9740c11 100644 --- a/misc-utils/lsblk.8 +++ b/misc-utils/lsblk.8 @@ -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), diff --git a/misc-utils/wipefs.8 b/misc-utils/wipefs.8 index 207b67501..13cadb456 100644 --- a/misc-utils/wipefs.8 +++ b/misc-utils/wipefs.8 @@ -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) diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 926f6e7a7..931fad16b 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -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), diff --git a/sys-utils/mountpoint.1 b/sys-utils/mountpoint.1 index 078ba2506..c410f8167 100644 --- a/sys-utils/mountpoint.1 +++ b/sys-utils/mountpoint.1 @@ -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 diff --git a/sys-utils/swapon.8 b/sys-utils/swapon.8 index cf66b01ca..84047ae16 100644 --- a/sys-utils/swapon.8 +++ b/sys-utils/swapon.8 @@ -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), diff --git a/sys-utils/umount.8 b/sys-utils/umount.8 index 8a640f44d..b0bfa9a84 100644 --- a/sys-utils/umount.8 +++ b/sys-utils/umount.8 @@ -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), |