[systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

Cristian Rodríguez crrodriguez at opensuse.org
Mon Mar 2 10:33:54 PST 2015

On Mon, Mar 2, 2015 at 12:48 PM, Jordan Hargrave <jharg93 at gmail.com> wrote:
> It would be nice if systemd could discover and display enclosure/bay slot
> mappings for drives in the system.  The /dev/disk/by-path method doesn't
> quite work, for SAS drives the ID can change on hotplug.  The slot mapping
> also doesn't handle PCIe SSD devices as they are bare block devices and
> don't use SCSI midlayer.  Proposing to add support for something like
> /dev/disk/by-enclosure/encl-XXX-slot-YYY symlink for block devices.

As far as I am aware, no new things dealing with storage naming rules
will be added to udev/systemd, it has to go to whatever other
project..(sg3_utils last time I checked)

More information about the systemd-devel mailing list