[systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

Kay Sievers kay at vrfy.org
Fri Sep 26 09:29:40 PDT 2014


On Fri, Sep 26, 2014 at 6:14 PM, Tomas Henzl <thenzl at redhat.com> wrote:
> I haven't noticed a single one technical reason why the by-path should be moved out
> from udev and not fixed there when it's needed and most importantly how that move
> would help the users of this feature.

Because it was changed several times already in the past, and it seems
people cannot make up their mind what is right here.

> The only point I can understand is that you don't like storage related code in udev
> because you don't understand it and so you don't want to maintain it.
> I could try to explain that in case of any issues you may seek help in the scsi-misc list,
> but well ok it's your decision.

Exactly, even the people involved doing the code seem to have problems
to sort it out. This code and use case is just too specific and a
niche, it should not be maintained in systemd/udev but in a separate
package where someone else takes the responsibility for it.

> This is I think by far not the last storage related code in udev, do you want to
> remove the other parts too, like the by-uuid and the other by-* obvious candidates ?

The generic, well-defined and generally useful parts like filesystem,
partition table properties, WWN IDs, ... will stay.

SCSI IDs will move to sg3_util. Specific ATA stuff and the rest of the
overly complex enterprise storage stuff will need a new home.

Kay


More information about the systemd-devel mailing list