Hello, Am Mittwoch, 9. April 2025, 11:35:27 CEST schrieb to...@tuxteam.de: > On Wed, Apr 09, 2025 at 11:32:31AM +0200, Petric Frank wrote: > > Hello, > > > > i want to map the sata hardware connections to fixed device names. This be > > done even the hdd on the cable is changed. > > > > So - when i connect a hdd to sata port 4 i want to get (for example) > > /dev/sdd created even /dev/sda to /dev/sdc (respective no hdd connected > > to sata 1 ... sata 3 port). > > > > Any idea on how to configure this. > > Does /dev/disk/by-path fulfil your needs?
Not exactly. The names are like pci-0000-0b:00:0-ata-4 and pci-0000-0d:00:0-ata-1. Can i simply match *ata-<number> and take the "<number>" as connector id on the mainboard ? Remark: The mainboard under test has 2 different sata controllers - one in the cpu and one in the chipset. regards Petric