NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: portable USB disk installation



On Sun 06 Oct 2019 at 13:46:03 +0200, orr721 wrote:
> Is there some way how to make the installation disk number
> agnostic?

Indeed there is! (But it is relativly new and not well advertised; you
can find some documentation for it with `man getfsspecname`).

In your /etc/fstab, you can use "ROOT." instead of the name of your
disk, and then follow it with the partition letter. "ROOT." stands for
the disk you booted from (or more precise, the disk where your / is).

So instead of '/dev/sd0a' you would use 'ROOT.a', etc.

> orr721
-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index