On Apr 09, 2025, 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).

You don't.  The first harddrive detected is always /dev/sda.

This is why we use UUIDs ;)

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860

Attachment: signature.asc
Description: PGP signature

Reply via email to