From e225e0cc6e878dec950fd9ee33f7dd9cdaa5292d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 30 Apr 2018 10:52:53 +0200 Subject: [PATCH] blkid: (man) add note about udev encoding Addresses: https://github.com/karelzak/util-linux/issues/632 Signed-off-by: Karel Zak --- misc-utils/blkid.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 8fafa38bff..13b5edb4d7 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 -- 2.47.3