From 347332796fc9199bd75a4e1bb1a0af095f16f2af Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 8 Mar 2021 10:56:47 +0100 Subject: [PATCH] fdisk: (man) add info about order for -l Reported-by: Dan Jacobson Signed-off-by: Karel Zak --- disk-utils/fdisk.8 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. -- 2.47.3