[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stable aliases for CD drives

As you can see, %e will go away soon so /etc/udev/cd-aliases.rules will
not be supported anymore.
Some component of debian will have to install a rules file with static
aliases, and so far I think that this should be a task for d-i.
Comments and other ideas are welcome.

BTW, udevsend will go away too. People using it in their packages should
contact me to discuss how to replace it.

On Dec 29, Kay Sievers <kay.sievers@vrfy.org> wrote:

> > Do not use %e in rules.
> Yes, %e will be removed in one of the next versions for that reason. It
> never worked reliably outside of udevstart, which is no longer
> recommended to use.
> Yuu can match on ENV{ID_PATH} with custom rules for every device. On
> SUSE, the system management creates rules on installation or update, to
> have always the same names for optical drives, regardless of the order
> of discovery:
>   $ cat /etc/udev/rules.d/65-cdrom.rules
>   # cdrom links generated by YaST2
>   #
>   SUBSYSTEM=="block", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="cdrecorder cdrom"
> Distros could also have a "default" rule, which catches unconfigured
> devices and automatically creates a rule for them to keep the name
> stable across reboots.
> Kay


Attachment: signature.asc
Description: Digital signature

Reply to: