summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.8
diff options
context:
space:
mode:
authorKarel Zak2018-04-30 10:52:53 +0200
committerKarel Zak2018-04-30 10:53:04 +0200
commitfc402b8b712d2cd17f58488fa35d64b25e226ae0 (patch)
treeffeb6951b47373da28c134d027127b2bf732a0d0 /misc-utils/blkid.8
parentbuild-sys: extend "Could not locate the pkg-config" error message (diff)
downloadkernel-qcow2-util-linux-fc402b8b712d2cd17f58488fa35d64b25e226ae0.tar.gz
kernel-qcow2-util-linux-fc402b8b712d2cd17f58488fa35d64b25e226ae0.tar.xz
kernel-qcow2-util-linux-fc402b8b712d2cd17f58488fa35d64b25e226ae0.zip
blkid: (man) add note about udev encoding
Addresses: https://github.com/karelzak/util-linux/issues/632 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.8')
-rw-r--r--misc-utils/blkid.89
1 files changed, 7 insertions, 2 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8
index 8fafa38bf..13b5edb4d 100644
--- a/misc-utils/blkid.8
+++ b/misc-utils/blkid.8
@@ -194,11 +194,16 @@ and \fB\-\-uuid\fR options
.TP
.B udev
print key="value" pairs for easy import into the udev environment; the keys are
-prefixed by ID_FS_ or ID_PART_ prefixes
+prefixed by ID_FS_ or ID_PART_ prefixes. The value may be modified to be
+safe for udev environment; allowed is plain ASCII, hex-escaping and valid UTF-8,
+everything else (including whitespaces) is replaced with '_'. The keys with
+_ENC postfix use hex-escaping for unsafe chars.
The udev output returns the ID_FS_AMBIVALENT tag if more superblocks are detected,
and ID_PART_ENTRY_* tags are always returned for all partitions including empty
-partitions. This output format is \fBDEPRECATED\fR.
+partitions.
+
+This output format is \fBDEPRECATED\fR.
.TP
.B export
print key=value pairs for easy import into the environment; this output format