Petric Frank composed on 2025-04-09 11:32 (UTC+0200): > 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. Nothing I know of. Why? You have other options at the ready: # ls -1 /dev/disk/ by-diskseq by-id by-label by-partlabel by-partuuid by-path by-uuid # egrep 'swap|fat|ext' /etc/fstab | wc -l 23 # grep UUID /etc/fstab | wc -l 0 # grep LABEL /etc/fstab | wc -l 23 # Just as seen in any recent OEM /etc/fstab, a filesystem's UUID= contains an as unique identifier as anyone should need. I use an alternate, LABEL=, here, easier to remember strings shorter than the 36 characters of UUIDs, unique enough for the task, and totally under admin creation and control. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata