From: Karel Zak Date: Thu, 12 Sep 2019 11:24:42 +0000 (+0200) Subject: blkid: (man) add note about udev to --list-one X-Git-Tag: v2.35-rc1~214 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bce4a17b01c1b400a5890b971ccbbd55c9147082;p=thirdparty%2Futil-linux.git blkid: (man) add note about udev to --list-one Addresses: https://github.com/karelzak/util-linux/issues/866 Signed-off-by: Karel Zak --- diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index cd549d2b43..ac30bc6e9b 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -136,11 +136,17 @@ List all known filesystems and RAIDs and exit. Look up only one device that matches the search parameter specified with the \fB\-\-match\-token\fR option. If there are multiple devices that match the specified search parameter, then the device with the highest priority is returned, and/or -the first device found at a given priority. Device types in order of -decreasing priority are: Device Mapper, EVMS, LVM, MD, and finally regular -block devices. If this option is not specified, +the first device found at a given priority (but see below note about udev). +Device types in order of decreasing priority are: Device Mapper, EVMS, LVM, MD, +and finally regular block devices. If this option is not specified, .B blkid will print all of the devices that match the search parameter. +.sp +This option forces +.B blkid +to use udev when used for LABEL or UUID tokens in \fB\-\-match\-token\fR. The +goal is to provide output consistent with another utils (like mount, etc.) +on systems where the same tag is used for multiple devices. .TP \fB\-L\fR, \fB\-\-label\fR \fIlabel\fR Look up the device that uses this filesystem \fIlabel\fR; this is equal to