Skip to content

bkus/by-enclosure-slot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup

This should be wrapped up into an RPM.

sudo su -
dnf -y install sg3_utils
cp get_enclosure_slot /lib/udev/get_enclosure_slot
chmod +x /lib/udev/get_enclosure_slot
cp 60-persistent-enclosure-slot.rules /etc/udev/rules.d/
udevadm trigger

You can now find your disks indexed by their enclosure model, address and slot within each enclosure, in /dev/disk/by-enclosure-slot/.

About

udev rules to index drives by their enclosure slot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages