From: Karel Zak Date: Mon, 8 Mar 2021 09:56:47 +0000 (+0100) Subject: fdisk: (man) add info about order for -l X-Git-Tag: v2.37-rc1~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=347332796fc9199bd75a4e1bb1a0af095f16f2af;p=thirdparty%2Futil-linux.git fdisk: (man) add info about order for -l Reported-by: Dan Jacobson Signed-off-by: Karel Zak --- diff --git a/disk-utils/fdisk.8 b/disk-utils/fdisk.8 index c6d334e783..9d1ed579ba 100644 --- a/disk-utils/fdisk.8 +++ b/disk-utils/fdisk.8 @@ -79,9 +79,12 @@ see the \fB\-\-help\fR output. See also the \fBCOLORS\fR section. .TP \fB\-l\fR, \fB\-\-list\fR List the partition tables for the specified devices and then exit. -If no devices are given, those mentioned in + +If no devices are given, the devices mentioned in .I /proc/partitions -(if that file exists) are used. +(if this file exists) are used. Devices are always listed in the order in +which they are specified on the command-line, or by the kernel listed +in /proc/partitions. .TP \fB\-x\fR, \fB\-\-list\-details\fR Like \fB\-\-list\fR, but provides more details.