Re: Who reordered my disks (probably v4.8-rc1 problem)

From: Bob Tracy
Date: Sun Aug 14 2016 - 09:36:33 EST


On Sun, Aug 14, 2016 at 05:03:33AM -0400, james harvey wrote:
> Use static (persistent) naming instead, /dev/disk/by-label,
> /dev/disk/by-id, /dev/disk/by-uuid, and if gpt /dev/disk/by-partlabel
> and /dev/disk/by-partuuid

The key takeaway from the above is, for the non-GPT case, userspace
support (blkid and friends) is required to take advantage of static
(persistent) naming, i.e., an initial ramdisk of some kind is no
longer optional (boo! hiss!).

There's an implied requirement for udev as well, but that's not nearly
as distasteful. I had to make my peace with udev on an otherwise
primitive (simple) Slackware system a few years ago when I upgraded my
system hardware: included was a sound device with an HDMI interface,
and the associated ALSA driver only supported dynamic minor devices.

--Bob