On Mon, Aug 11, 2025 at 7:15 PM Andy Smith <[email protected]> wrote:

> Hi,
>
> On Mon, Aug 11, 2025 at 09:36:46AM -0500, Richard Owlett wrote:
> > On 8/11/25 8:58 AM, songbird wrote:
> > >    remember that things can change between boots so any
> > > mentions of specific devices may be out of date the next
> > > boot.
> > >
> > >    as an example my /dev/sda can change to /dev/sd[bcd]  ...
> >
> > I leave such unchanged for years at a time ;}
>
> The kernel decides the order at boot time. You probably do not have
> years of uptime.
>
> It tends to decide on a steady state, but I do for example have systems
> with 8 drives in of different kinds and between the Debian 13 installer
> and the Debian 13 installed kernel on first boot they re-ordered
> themselves completely. Which was fine because Debian these days is
> installed to cope with that sort of thing.
>
> The various directories under /dev/disk/by-* will give you various kinds
> of stable identifiers.
>

Red Hat has a pretty good article about stable names for disks [1].
Debian's page is not as good [2].

[1] <
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_file_systems/assembly_overview-of-persistent-naming-attributes_managing-file-systems
>

[2] <https://www.debian.org/releases/stable/amd64/apcs04.en.html>

Jeff

Reply via email to