From: Tobias Stoeckmann Date: Tue, 7 Apr 2026 16:13:53 +0000 (+0200) Subject: man: Sort ENVIRONMENT variables alphabetically X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5db22042ada71e3cdb928ebcc84f79c6ccc75fe5;p=thirdparty%2Futil-linux.git man: Sort ENVIRONMENT variables alphabetically This matches other sections, e.g. OPTIONS. Signed-off-by: Tobias Stoeckmann --- diff --git a/disk-utils/cfdisk.8.adoc b/disk-utils/cfdisk.8.adoc index bb2c1dbc6..9ab29d60d 100644 --- a/disk-utils/cfdisk.8.adoc +++ b/disk-utils/cfdisk.8.adoc @@ -131,12 +131,12 @@ include::man-common/colors.adoc[] *CFDISK_DEBUG*=all:: enables cfdisk debug output. -*LIBFDISK_DEBUG*=all:: -enables libfdisk debug output. - *LIBBLKID_DEBUG*=all:: enables libblkid debug output. +*LIBFDISK_DEBUG*=all:: +enables libfdisk debug output. + include::man-common/env-smartcols.adoc[] *LOCK_BLOCK_DEVICE*=:: diff --git a/disk-utils/fdisk.8.adoc b/disk-utils/fdisk.8.adoc index 78fa1fb3e..7d53115db 100644 --- a/disk-utils/fdisk.8.adoc +++ b/disk-utils/fdisk.8.adoc @@ -201,12 +201,12 @@ The welcome message. *FDISK_DEBUG*=all:: enables fdisk debug output. -*LIBFDISK_DEBUG*=all:: -enables libfdisk debug output. - *LIBBLKID_DEBUG*=all:: enables libblkid debug output. +*LIBFDISK_DEBUG*=all:: +enables libfdisk debug output. + include::man-common/env-smartcols.adoc[] *LOCK_BLOCK_DEVICE*=:: diff --git a/disk-utils/fsck.8.adoc b/disk-utils/fsck.8.adoc index cfc4a072c..6bf52f2fa 100644 --- a/disk-utils/fsck.8.adoc +++ b/disk-utils/fsck.8.adoc @@ -137,9 +137,6 @@ If this environment variable is set, *fsck* will attempt to check all of the spe *FSCK_MAX_INST*:: This environment variable will limit the maximum number of filesystem checkers that can be running at one time. This allows configurations which have a large number of disks to avoid *fsck* starting too many filesystem checkers at once, which might overload CPU and memory resources available on the system. If this value is zero, then an unlimited number of processes can be spawned. This is currently the default, but future versions of *fsck* may attempt to automatically determine how many filesystem checks can be run based on gathering accounting data from the operating system. -*PATH*:: -The *PATH* environment variable is used to find filesystem checkers. - *FSTAB_FILE*:: This environment variable allows the system administrator to override the standard location of the _/etc/fstab_ file. It is also useful for developers who are testing *fsck*. @@ -149,6 +146,9 @@ enables libblkid debug output. *LIBMOUNT_DEBUG=all*:: enables libmount debug output. +*PATH*:: +The *PATH* environment variable is used to find filesystem checkers. + == FILES _/etc/fstab_ diff --git a/disk-utils/sfdisk.8.adoc b/disk-utils/sfdisk.8.adoc index f6b483050..25fc9eb07 100644 --- a/disk-utils/sfdisk.8.adoc +++ b/disk-utils/sfdisk.8.adoc @@ -435,17 +435,20 @@ The welcome message. == ENVIRONMENT -*SFDISK_DEBUG*=all:: -enables *sfdisk* debug output. -*LIBFDISK_DEBUG*=all:: -enables libfdisk debug output. *LIBBLKID_DEBUG*=all:: enables libblkid debug output. + +*LIBFDISK_DEBUG*=all:: +enables libfdisk debug output. + include::man-common/env-smartcols.adoc[] *LOCK_BLOCK_DEVICE*=:: use exclusive BSD lock. The mode is "1" or "0". See *--lock* for more details. +*SFDISK_DEBUG*=all:: +enables *sfdisk* debug output. + == NOTES Since version 2.26 *sfdisk* no longer provides the *-R* or *--re-read* option to force the kernel to reread the partition table. Use *blockdev --rereadpt* instead. diff --git a/lib/terminal-colors.d.5.adoc b/lib/terminal-colors.d.5.adoc index f337c3a57..ef77aa653 100644 --- a/lib/terminal-colors.d.5.adoc +++ b/lib/terminal-colors.d.5.adoc @@ -189,14 +189,14 @@ Any other use of the hash character is not interpreted as introducing a comment. == ENVIRONMENT -*TERMINAL_COLORS_DEBUG*=all:: -enables debug output. - *NO_COLOR*:: if defined, this disables output colorization unless explicitly enabled by a command-line option. See https://no-color.org/ for more details. Supported since util-linux version 2.41. +*TERMINAL_COLORS_DEBUG*=all:: +enables debug output. + == FILES _$XDG_CONFIG_HOME/terminal-colors.d_ diff --git a/misc-utils/findmnt.8.adoc b/misc-utils/findmnt.8.adoc index e1afa96af..aa7cf0a58 100644 --- a/misc-utils/findmnt.8.adoc +++ b/misc-utils/findmnt.8.adoc @@ -216,15 +216,15 @@ specification, or the device path or mountpoint does not exist). == ENVIRONMENT +*LIBMOUNT_DEBUG*=all:: +enables libmount debug output + *LIBMOUNT_FSTAB*=:: overrides the default location of the _fstab_ file *LIBMOUNT_MTAB*=:: overrides the default location of the _mtab_ file -*LIBMOUNT_DEBUG*=all:: -enables libmount debug output - include::man-common/env-smartcols.adoc[] == EXAMPLES diff --git a/misc-utils/getopt.1.adoc b/misc-utils/getopt.1.adoc index a68b1a49a..9eacbe1fe 100644 --- a/misc-utils/getopt.1.adoc +++ b/misc-utils/getopt.1.adoc @@ -135,12 +135,12 @@ Example scripts for (ba)sh and (t)csh are provided with the *getopt*(1) distribu == ENVIRONMENT -*POSIXLY_CORRECT*:: -This environment variable is examined by the *getopt*(3) routines. If it is set, parsing stops as soon as a parameter is found that is not an option or an option argument. All remaining parameters are also interpreted as non-option parameters, regardless whether they start with a '*-*'. - *GETOPT_COMPATIBLE*:: Forces *getopt* to use the first calling format as specified in the *SYNOPSIS*. +*POSIXLY_CORRECT*:: +This environment variable is examined by the *getopt*(3) routines. If it is set, parsing stops as soon as a parameter is found that is not an option or an option argument. All remaining parameters are also interpreted as non-option parameters, regardless whether they start with a '*-*'. + == BUGS *getopt*(3) can parse long options with optional arguments that are given an empty optional argument (but cannot do this for short options). This *getopt*(1) treats optional arguments that are empty as if they were not present. diff --git a/misc-utils/lsblk.8.adoc b/misc-utils/lsblk.8.adoc index 12ff6f3c1..3cc180f15 100644 --- a/misc-utils/lsblk.8.adoc +++ b/misc-utils/lsblk.8.adoc @@ -222,9 +222,6 @@ include::man-common/colors.adoc[] == ENVIRONMENT -*LSBLK_DEBUG*=all:: -enables *lsblk* debug output. - *LIBBLKID_DEBUG*=all:: enables *libblkid* debug output. @@ -236,6 +233,9 @@ include::man-common/env-smartcols.adoc[] *LSBLK_COLUMNS*=:: specifies a comma-separated list of output columns to print. All columns listed by *--list-columns* can be used. +*LSBLK_DEBUG*=all:: +enables *lsblk* debug output. + *ULPATH_DEBUG*=all:: enables *path* debug output. diff --git a/misc-utils/lsclocks.1.adoc b/misc-utils/lsclocks.1.adoc index 6b5a0433e..77aec84a6 100644 --- a/misc-utils/lsclocks.1.adoc +++ b/misc-utils/lsclocks.1.adoc @@ -71,11 +71,11 @@ include::man-common/help-version.adoc[] == ENVIRONMENT +include::man-common/env-smartcols.adoc[] + LSCLOCKS_COLUMNS=:: Specifies a comma-separated list of output columns to print. All columns listed in *OUTPUT COLUMNS* can be used. -include::man-common/env-smartcols.adoc[] - == OUTPUT COLUMNS Each column has a type. Types are surround by < and >. diff --git a/sys-utils/losetup.8.adoc b/sys-utils/losetup.8.adoc index 74586d3d8..5bda765f3 100644 --- a/sys-utils/losetup.8.adoc +++ b/sys-utils/losetup.8.adoc @@ -153,6 +153,8 @@ Since version 2.37 *losetup* uses *LOOP_CONFIGURE* ioctl to set up a new loop de == ENVIRONMENT +include::man-common/env-smartcols.adoc[] + *LOOPDEV_DEBUG*=all:: enables loopdev debug output. @@ -162,8 +164,6 @@ enables path debug output. *ULSYSFS_DEBUG*=all:: enables sysfs debug output. -include::man-common/env-smartcols.adoc[] - == FILES _/dev/loop[0..N]_:: diff --git a/sys-utils/lscpu.1.adoc b/sys-utils/lscpu.1.adoc index 1fd157342..90cdf67ae 100644 --- a/sys-utils/lscpu.1.adoc +++ b/sys-utils/lscpu.1.adoc @@ -125,12 +125,12 @@ include::man-common/help-version.adoc[] == ENVIRONMENT -LSCPU_COLUMNS=:: -Specifies a comma-separated list of output columns to print. All columns listed by *--list-columns* for the options *-e* and *-p* can be used. - LSCPU_CACHES_COLUMNS=:: Same as *LSCPU_COLUMNS* with the difference that columns only listed for the *-C* option can be used. +LSCPU_COLUMNS=:: +Specifies a comma-separated list of output columns to print. All columns listed by *--list-columns* for the options *-e* and *-p* can be used. + *LSCPU_DEBUG*=all:: enables lscpu debug output. diff --git a/sys-utils/lsmem.1.adoc b/sys-utils/lsmem.1.adoc index dd9b16d24..8877c39a5 100644 --- a/sys-utils/lsmem.1.adoc +++ b/sys-utils/lsmem.1.adoc @@ -101,11 +101,11 @@ include::man-common/help-version.adoc[] == ENVIRONMENT +include::man-common/env-smartcols.adoc[] + *LSMEM_COLUMNS*:: Specifies a comma-separated list of output columns to print. All columns listed in *--help* can be used. -include::man-common/env-smartcols.adoc[] - *ULPATH_DEBUG*=all:: enables path debug output. diff --git a/sys-utils/lsns.8.adoc b/sys-utils/lsns.8.adoc index 624455df8..039e09e7d 100644 --- a/sys-utils/lsns.8.adoc +++ b/sys-utils/lsns.8.adoc @@ -102,11 +102,11 @@ An ioctl was unknown to the kernel. == ENVIRONMENT +include::man-common/env-smartcols.adoc[] + *LSNS_DEBUG*=all:: enables *lsns* debug output. -include::man-common/env-smartcols.adoc[] - == AUTHORS mailto:kzak@redhat.com[Karel Zak] diff --git a/sys-utils/mount.8.adoc b/sys-utils/mount.8.adoc index e27d711f3..7fb9384b5 100644 --- a/sys-utils/mount.8.adoc +++ b/sys-utils/mount.8.adoc @@ -1750,18 +1750,18 @@ The exit status value of the helper is returned as the exit status of *mount*(8) == ENVIRONMENT +*LIBBLKID_DEBUG*=all:: +enables libblkid debug output + +*LIBMOUNT_DEBUG*=all:: +enables libmount debug output + *LIBMOUNT_FORCE_MOUNT2*={always|never|auto}:: force to use classic *mount*(2) system call (requires support for new file descriptors based mount API). The default is *auto*; in this case, libmount tries to be smart and use classic *mount*(2) only for well-known issues. If the new mount API is unavailable, libmount can still use traditional *mount*(2), although LIBMOUNT_FORCE_MOUNT2 is set to *never*. *LIBMOUNT_FSTAB*=:: overrides the default location of the _fstab_ file (ignored for suid) -*LIBMOUNT_DEBUG*=all:: -enables libmount debug output - -*LIBBLKID_DEBUG*=all:: -enables libblkid debug output - *LOOPDEV_DEBUG*=all:: enables loop device setup debug output diff --git a/sys-utils/swapon.8.adoc b/sys-utils/swapon.8.adoc index 47acd5097..aa4b50325 100644 --- a/sys-utils/swapon.8.adoc +++ b/sys-utils/swapon.8.adoc @@ -171,12 +171,12 @@ The old versions before v2.36 has no documented exit status, 0 means success in == ENVIRONMENT -*LIBMOUNT_DEBUG*=all:: -enables *libmount* debug output. - *LIBBLKID_DEBUG*=all:: enables *libblkid* debug output. +*LIBMOUNT_DEBUG*=all:: +enables *libmount* debug output. + include::man-common/env-smartcols.adoc[] == FILES diff --git a/sys-utils/umount.8.adoc b/sys-utils/umount.8.adoc index a568016c9..c7325b713 100644 --- a/sys-utils/umount.8.adoc +++ b/sys-utils/umount.8.adoc @@ -190,12 +190,12 @@ The exit status value of the helper is returned as the exit status of *umount*(8 == ENVIRONMENT -*LIBMOUNT_FSTAB*=:: -overrides the default location of the _fstab_ file (ignored for *suid*) - *LIBMOUNT_DEBUG*=all:: enables *libmount* debug output +*LIBMOUNT_FSTAB*=:: +overrides the default location of the _fstab_ file (ignored for *suid*) + == FILES _/etc/mtab_:: diff --git a/text-utils/more.1.adoc b/text-utils/more.1.adoc index a8fc3b529..46c412e26 100644 --- a/text-utils/more.1.adoc +++ b/text-utils/more.1.adoc @@ -177,32 +177,32 @@ Start up an editor. The *more* command respects the following environment variables, if they exist: +*EDITOR*:: +The editor of choice when *VISUAL* is not specified. + *MORE*:: This variable may be set with favored options to *more*. -*SHELL*:: -Current shell in use (normally set by the shell at login time). - -*TERM*:: -The terminal type used by *more* to get the terminal characteristics necessary to manipulate the screen. +*MORESECURE*:: +Run *more* in "secure" mode. See SECURITY for details. -*VISUAL*:: -The editor the user prefers. Invoked when command key _v_ is pressed. +*MORE_SHELL_LINES*:: +Specify the _number_ of lines per screenful. It has the same effect as the *-n* and *--lines* options. See in OPTIONS for details. Also, note that the environment variable's value will be overridden if any of these options are set. -*EDITOR*:: -The editor of choice when *VISUAL* is not specified. +*PAGERSECURE*:: +Equivalent to MORESECURE. *POSIXLY_CORRECT*:: Disable exit-on-eof (see option *-e* for more details). -*MORESECURE*:: -Run *more* in "secure" mode. See SECURITY for details. +*SHELL*:: +Current shell in use (normally set by the shell at login time). -*PAGERSECURE*:: -Equivalent to MORESECURE. +*TERM*:: +The terminal type used by *more* to get the terminal characteristics necessary to manipulate the screen. -*MORE_SHELL_LINES*:: -Specify the _number_ of lines per screenful. It has the same effect as the *-n* and *--lines* options. See in OPTIONS for details. Also, note that the environment variable's value will be overridden if any of these options are set. +*VISUAL*:: +The editor the user prefers. Invoked when command key _v_ is pressed. == HISTORY