LINUX.ORG.RU

История изменений

Исправление intelfx, (текущая версия) :

Интересно, а кто это там дефисы на \x2d поменял? Он ждет устройство: dev-disk-by\x2duuid-44a1c9cf\x2dbadc\x2d4fa9\x2d8dce\x2

Всё правильно.

systemd.device(5):

Device units are named after the /sys and /dev paths they control. Example: the device /dev/sda5 is exposed in systemd as dev-sda5.device. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit(5).

systemd.unit(5):

Some unit names reflect paths existing in the file system namespace. Example: a device unit dev-sda.device refers to a device with the device node /dev/sda in the file system namespace. If this applies, a special way to escape the path name is used, so that the result is usable as part of a filename. Basically, given a path, «/» is replaced by "-", and all other characters which are not ASCII alphanumerics are replaced by C-style «\x2d» escapes (except that «_» is never replaced and "." is only replaced when it would be the first character in the escaped path). The root directory «/» is encoded as single dash, while otherwise the initial and ending «/» are removed from all paths during transformation. This escaping is reversible. Properly escaped paths can be generated using the systemd-escape(1) command.

Исходная версия intelfx, :

Интересно, а кто это там дефисы на \x2d поменял? Он ждет устройство: dev-disk-by\x2duuid-44a1c9cf\x2dbadc\x2d4fa9\x2d8dce\x2

Всё правильно.