summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.8
diff options
context:
space:
mode:
authorKarel Zak2010-03-23 14:06:54 +0100
committerKarel Zak2010-03-23 14:06:54 +0100
commit4f946f530c3f9991c6fd71739696dd2bcc1a4a1f (patch)
tree690cb53e9e332e0755424ac184abb3a0412fd3fc /misc-utils/blkid.8
parentblkid: cleanup -u <list> parsing (diff)
downloadkernel-qcow2-util-linux-4f946f530c3f9991c6fd71739696dd2bcc1a4a1f.tar.gz
kernel-qcow2-util-linux-4f946f530c3f9991c6fd71739696dd2bcc1a4a1f.tar.xz
kernel-qcow2-util-linux-4f946f530c3f9991c6fd71739696dd2bcc1a4a1f.zip
blkid: add -n <list> 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 <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.8')
-rw-r--r--misc-utils/blkid.817
1 files changed, 17 insertions, 0 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8
index 9419da0f8..ea78d246b 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=<label>" and "-o list" in your scripts rather than -L option.
.TP
+.B \-n " list "
+Restrict probing functions to defined (comma separated) list of superblock types (names).
+The list can be prefixed with "no" to specify the types which should be ignored.
+For example:
+.sp
+ blkid -p -n vfat,ext3,ext4 /dev/sda1
+.sp
+probes for vfat, ext3 and ext4 filesystems, and
+.sp
+ blkid -p -u nominix /dev/sda1
+.sp
+probes for all supported formats exclude minix filesystem. This option is
+useful with
+\fB-p\fR only.
+.TP
.B \-u " list "
Restrict probing functions to defined (comma separated) list of "usage" types.
Supported usage types are: filesystem, raid, crypto and other. The list can be