On Mon, Aug 1, 2016 at 12:51 AM, Philip Rhoades <phil@xxxxxxxxxxxxx> wrote: > People, > > I know that it is possible to refer to drives by various naming conventions: > > https://wiki.archlinux.org/index.php/Persistent_block_device_naming > > but it is annoying that the "SCSI" drive (SATA and USB) order in which their > corresponding device nodes are added is arbitrary - is there some way of > forcing the order to what I want? ie I have the boot disk as /dev/sda of > course but I want to specify the drive letter of the other physical SATA and > USB drives . . On my Mac, it flips around, there is no pattern. I'm pretty sure udev does the assignment, but the arbitrary nature of enumeration is probably due to early device initialization. If you need something reliable, use one of [root@f24s disk]# pwd /dev/disk [root@f24s disk]# ll drwxr-xr-x. 2 root root 420 Aug 1 22:47 by-id drwxr-xr-x. 2 root root 100 Aug 1 22:47 by-label drwxr-xr-x. 2 root root 160 Aug 1 22:31 by-partlabel drwxr-xr-x. 2 root root 160 Aug 1 22:31 by-partuuid drwxr-xr-x. 2 root root 180 Aug 1 22:31 by-path drwxr-xr-x. 2 root root 140 Aug 1 22:47 by-uuid Somewhat recently are multiple items in by-id which includes a connection+make+model+serial, and another based on WWN. Each of those also has a unique name for each partition. I use the WWN for a server where I have an encrypted swap, where the encryption is setup at boot time so I don't have to type a passphrase. -- Chris Murphy -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org