tech-userlevel archive

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

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



cmhanson%eschatologist.net@localhost (Chris Hanson) writes:

>Reading code tonight, I=E2=80=99ve found that at least the stock rc.d =
>scripts should be pretty robust against /etc changing out from under =
>them since they use the functions load_rc_config/load_rc_config_var from =
>/etc/rc_subrs

Changing /etc underneath is the thing that is already implemented
by /etc/rc.d/bootconf.sh. But there are a couple of steps in front
of it.

Magic symlinks can do this earlier and work automatically. I use it
to boot the same system either as MACHINE=amiga or MACHINE=virt68k,
which requires specific fstab files and /dev directories.


But neither really helps if you want a shared root, that, ideally,
would require to be read-only and you need a solution for the
writable parts outside of /etc.

Supporting machine-specific kernels and other standalone code also
needs extra handling. But for network boot that's might already
be there.



Home | Main Index | Thread Index | Old Index