From 4f946f530c3f9991c6fd71739696dd2bcc1a4a1f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 23 Mar 2010 14:06:54 +0100 Subject: [PATCH] blkid: add -n option This option allows to restrict low-level probing to the defined list of superbocks (filesystems or RAIDs). For example: blkid -p -n ext3,ext4,vfat /dev/sda1 or blkid -p -n novfat /dev/sda1 Signed-off-by: Karel Zak --- misc-utils/blkid.8 | 17 ++++++++++ misc-utils/blkid.c | 77 ++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 88 insertions(+), 6 deletions(-) diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 9419da0f..ea78d246 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -43,6 +43,8 @@ blkid \- command\-line utility to locate/print block device attributes .RB [ \-s .IR tag ] .in +9 +.RB [ \-n +.IR list ] .RB [ \-u .IR list ] .I device @@ -104,6 +106,21 @@ from e2fsprogs use the \fB-L\fR option as a synonym to the \fB-o list\fR option. For better portability use "-l -o device -t LABEL=