From: Karel Zak Date: Mon, 30 Apr 2018 08:52:53 +0000 (+0200) Subject: blkid: (man) add note about udev encoding X-Git-Tag: v2.32.1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e225e0cc6e878dec950fd9ee33f7dd9cdaa5292d;p=thirdparty%2Futil-linux.git blkid: (man) add note about udev encoding Addresses: https://github.com/karelzak/util-linux/issues/632 Signed-off-by: Karel Zak --- 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