From 2555bd3bad9ea8e7ae40a727f59bb546d2aa2717 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 28 Mar 2014 10:36:05 +0100 Subject: [PATCH 69/84] findfs: add ability to work with PART{UUID,LABEL}= too Upstream: http://github.com/karelzak/util-linux/commit/c48508c2faa356c48c26d7d0070a6f20ae4ba9a0 Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=1335671 Signed-off-by: Karel Zak --- misc-utils/findfs.8 | 51 +++++++++++++++++++++++++++++++++++++++------------ misc-utils/findfs.c | 17 +++++------------ 2 files changed, 44 insertions(+), 24 deletions(-) diff --git a/misc-utils/findfs.8 b/misc-utils/findfs.8 index 8a6bca1..b92cd45 100644 --- a/misc-utils/findfs.8 +++ b/misc-utils/findfs.8 @@ -7,19 +7,45 @@ findfs \- find a filesystem by label or UUID .SH SYNOPSIS .B findfs -.BI LABEL= label -.sp -.B findfs -.BI UUID= uuid +.BI NAME= value .SH DESCRIPTION .B findfs -will search the disks in the system looking for a filesystem which has -a label matching -.I label -or a UUID equal to -.IR uuid . -If the filesystem is found, the device name for the filesystem will -be printed on stdout. +will search the block devices in the system looking for a filesystem or +partition with specified tag. The currently supported tags are: +.TP +.B LABEL=