[systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

Umut Tezduyar Lindskog umut at tezduyar.com
Thu Apr 23 04:20:35 PDT 2015


It is not uncommon that file systems have the same volume label,
especially on flash drives. disk/by-label udev rule in
60-persistent-storage.rules generates a symb link to the device. 2
devices might have the same label link if they have same label.

After 628c89cc, this becomes very visible with "Device
dev-disk-by\x2dlabel-Axis.device appeared twice with different sysfs
paths ...." error message.

The LABEL field of the volumes are relatively short (11 char on vfat,
16 on ext4). It won't be unique.

How can we solve it? What is the purpose of the disk/by-label rule?
Who uses that device node?

Umut


More information about the systemd-devel mailing list