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

Andrei Borzenkov arvidjaar at gmail.com
Thu Apr 23 04:42:24 PDT 2015


On Thu, Apr 23, 2015 at 2:20 PM, 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.
>
> 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?

mount LABEL=foo /mnt


More information about the systemd-devel mailing list