tech-userlevel archive

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

Re: Root device independent bootable disk images



On Wed, Dec 12, 2018 at 05:18:55PM +0200, Andreas Gustafsson wrote:
> Since jmcneill's commit of src/lib/libutil/getfsspecname.c 1.5, NetBSD
> supports the special string "ROOT." as an alias for the root device in
> /etc/fstab.  This can be used to avoid hard-coding the device name of
> the root disk on bootable disk images, allowing a single image to be
> booted from disks having different device names.

I'd be careful as especially on x86, the boot device detection is
somewhat flaky. The firmware interface is just too limited.

Joerg


Home | Main Index | Thread Index | Old Index