Jared McNeill wrote: > The ARM images currently contain an fstab entry that points to ld0. I want > to make this more generic as we may have different root devices and/or > root device units may not be consistent across reboots. > > I came up with this simple patch to getfsspecname that allows ROOT=<part> > syntax for fs_spec. It uses the value of the kern.root_device sysctl to > construct a device path, so my fstab can have entries like this: > > ROOT=a / ffs rw,noatime 1 1 > ROOT=b none swap sw 0 0 > ROOT=e /boot msdos rw 1 1 > > Thoughts? Suggestions?
Could this also be leveraged to fix PR 51503, and/or to eliminate the need for the amd64 live-image target to build both NetBSD-N.M-amd64-live-wd0root.img and NetBSD-N.M-amd64-live-sd0root.img? -- Andreas Gustafsson, g...@gson.org