At Mon, 6 Oct 2025 15:53:24 -0700, Chris Hanson <cmhanson%eschatologist.net@localhost> 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 <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpWrW35qMRfv.pgp
Description: OpenPGP Digital Signature