summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.8
diff options
context:
space:
mode:
authorKarel Zak2011-03-29 11:44:29 +0200
committerKarel Zak2011-03-29 11:44:29 +0200
commit36a74e1b450f95767671df44bee9c73f21e2dec5 (patch)
treef551854699ee8e92ec41703a693dc5d56bcca5b5 /misc-utils/blkid.8
parentpartx: add fallback for openat() to be usable on old systems (diff)
downloadkernel-qcow2-util-linux-36a74e1b450f95767671df44bee9c73f21e2dec5.tar.gz
kernel-qcow2-util-linux-36a74e1b450f95767671df44bee9c73f21e2dec5.tar.xz
kernel-qcow2-util-linux-36a74e1b450f95767671df44bee9c73f21e2dec5.zip
blkid: add -d option to print non-printable chars
Reported-by: laborer2008 laborer <laborer2008@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.8')
-rw-r--r--misc-utils/blkid.87
1 files changed, 6 insertions, 1 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8
index 1dbb20b07..92fd3854f 100644
--- a/misc-utils/blkid.8
+++ b/misc-utils/blkid.8
@@ -16,7 +16,7 @@ blkid \- locate/print block device attributes
.IR uuid
.B blkid
-.RB [ \-ghlv ]
+.RB [ \-dghlv ]
.RB [ \-c
.IR file ]
.RB [ \-w
@@ -84,6 +84,11 @@ If you want to start with a clean cache (i.e. don't report devices previously
scanned but not necessarily available at this time), specify
.IR /dev/null .
.TP
+.B \-d
+Don't encode non-printing characters. The non-printing characters are encoded
+by ^ and M- notation by default. Note that \fB-o udev\fR output format uses
+a diffrent encoding and this encoding cannot be disabled.
+.TP
.B \-g
Perform a garbage collection pass on the blkid cache to remove
devices which no longer exist.