]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for /conf/T/M/remount_optional.
authorBruce M Simpson <bms@FreeBSD.org>
Thu, 15 May 2008 11:00:23 +0000 (11:00 +0000)
committerBruce M Simpson <bms@FreeBSD.org>
Thu, 15 May 2008 11:00:23 +0000 (11:00 +0000)
commit7e54279b424cb9afb7bb7be96d34a31fb058a4a3
tree12b7c3cb9105fe7435b048137835e1563ad224de
parent7fa21c09b6c1db79e12dc7d6f15c1edd8fc9cbad
Add support for /conf/T/M/remount_optional.

The rc.initdiskless functionality is used by NanoBSD to allow configuration
files to live on a separate configuration slice, which acts as NVRAM, whilst
the system image is mounted read-only.

Normally, if the remount command fails during boot, this is regarded as
a fatal error. If /conf/T/M/remount_optional is present, this error is
non-fatal. If the file is not present, the default behaviour is unchanged.

This is very useful for people building live CD images using FreeBSD,
where the NVRAM lives somewhere completely differently from the system image,
and may be present on removable media which is not present during the
initial boot.
etc/rc.initdiskless