From c48508c2faa356c48c26d7d0070a6f20ae4ba9a0 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 28 Mar 2014 10:36:05 +0100 Subject: [PATCH] findfs: add ability to work with PART{UUID,LABEL}= too 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 1469df2dc8..32b74b423f 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=