At Mon, 6 Oct 2025 15:53:24 -0700, Chris Hanson <[email protected]> wrote: Subject: Shared-root diskless netboot, critical local/remote mounts, and rc.conf > > I’ve been looking off and on at what it would take to set up > NetBSD for "NeXT-like” netboot, where every network-booted system > shares the same read-only NFS-mounted root filesystem and > per-system content is provided via a separate NFS mount at > /private. This makes keeping multiple netbooted systems up-to-date > easy, because only system-specific information changes.
Back when I ran diskless systems I modified nfs/nfs_bootparam.c to also
ask for an "etc" path (along with "root", "dump", and "swap").
The rest, i.e. /usr (if separate), /tmp, and /var were handled by the
normal /etc/fstab entries.
It worked perfectly, no silly symlinks or hoop jumping or hidden base
/etc/rc junk required.
--
Greg A. Woods <[email protected]>
Kelowna, BC +1 250 762-7675 RoboHack <[email protected]>
Planix, Inc. <[email protected]> Avoncote Farms <[email protected]>
pgpxzSfLE_4JO.pgp
Description: OpenPGP Digital Signature
