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

Lennart Poettering lennart at poettering.net
Thu Apr 23 04:54:30 PDT 2015


On Thu, 23.04.15 13:20, Umut Tezduyar Lindskog (umut at tezduyar.com) wrote:

> 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.

I have now downgraded the message in git to debug. Which should
basically get us back to the status quo ante in this regard.

> 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?

Well, it's unsolvable. THe names are not unique. But we probably
shouldn't make a big fuss about it, hence I downgraded the message now.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list