Date: Mon, 19 Nov 2018 06:34:34 +0000 From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 204215] [patch] [feature-request] make rc.initdiskless more embedded-friendly and support auxiliary NVRAM Message-ID: <bug-204215-20181-TD5DW7Wy6h@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204215-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-204215-20181@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204215 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: eugen Date: Mon Nov 19 06:33:38 UTC 2018 New revision: 340610 URL: https://svnweb.freebsd.org/changeset/base/340610 Log: MFC r339465: 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 fl= ash 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 auxil= iary 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 userla= nd. PR: 204215 Changes: _U stable/12/ stable/12/libexec/rc/rc.initdiskless --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204215-20181-TD5DW7Wy6h>