Re: Shared-root diskless netboot, critical local/remote mounts, and rc.conf

Chris Hanson <[email protected]> Sat, 11 Oct 2025 19:29:25 -0700
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Oct 10, 2025, at 11:00 PM, Chris Hanson <[email protected]> wrote:

> Essentially “all” that’s required will be to give libc/gen/fstab.c the same treatment as (say) libc/gen/getgrent.c, and to add support for fstab to nsswitch.

So far I have this implemented. (There was barely anything to do within the nsswitch infrastructure, though I should update the docs and default/sample file too.)

> Then I can add fstab support to an NSS plug-in and it should just work.

I’m going to try to test it by implementing an NSS plug-in that just returns a static entry.

  -- Chris