History log of /freebsd-13.1/libexec/rc/rc.initdiskless (Results 1 – 4 of 4)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 26e8ed62 26-Apr-2019 Lev A. Serebryakov <[email protected]>

Make mdmfs verbose if diskless boot is verbose.

Approved by: ian@
Differential Revision: D17104


Revision tags: release/12.0.0
# 707a657c 20-Oct-2018 Eugene Grosbein <[email protected]>

rc.initdiskless: fix commentary grammar after r339465

MFC after: 1 month


# b4d24263 20-Oct-2018 Eugene Grosbein <[email protected]>

rc.initdiskless: add support for auxiliary NVRAM.

Currently, rc.inidiskless assumes that local system configuration
changes are kept in some mountable file system. For example,
nanobsd uses dedicate

rc.initdiskless: add support for auxiliary NVRAM.

Currently, rc.inidiskless assumes that local system configuration
changes are kept in some mountable file system. For example,
nanobsd uses dedicated partition mounted as /cfg for this.

However, small embedded devices like MIPS routers may have no enough flash
space to keep full-blown file system but have only one or couple
small flash blocks to keep persistent local configuration overrides.

This change extends rc.initdiskless and introduces ability to run auxiliary
command /conf/T/M/extract that is supposed to extract configuration overrides
from such local storage.

For example, the command /conf/default/etc/extract may contain something like:

cd "$1" && bsdcpio --quiet -idu < /dev/map/cfg

bsdcpio command extracts compressed archive from the storage to /etc
assuming the storage is exposed by the kernel as /dev/map/cfg to userland.

PR: 204215
MFC after: 1 month

show more ...


# 0696600c 17-Oct-2018 Bjoern A. Zeeb <[email protected]>

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update bec

Move the rc framework out of sbin/init into libexec/rc.

The reasons for this are forward looking to pkgbase:
* /sbin/init is a special binary; try not to replace it with
every package update because an rc script was touched.
(a follow-up commit will make init its own package)
* having rc in its own place will allow more easy replacement
of the rc framework with alternatives, such as openrc.

Discussed with: brd (during BSDCam), kmoore
Requested by: cem, bz
PR: 231522
Approved by: re (gjb)

show more ...