Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 09:51:22 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Nick Hibma <nick@van-laarhoven.org>
Cc:        FreeBSD current <freebsd-current@freebsd.org>, freebsd-rc@freebsd.org
Subject:   Re: RFC: support for "first boot" rc.d scripts
Message-ID:  <525C210A.2000306@freebsd.org>
In-Reply-To: <41F1219E-4DCC-4B04-A1DC-40038809556B@van-laarhoven.org>
References:  <525B258F.3030403@freebsd.org> <41F1219E-4DCC-4B04-A1DC-40038809556B@van-laarhoven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nick,

On 10/14/13 00:59, Nick Hibma wrote:
> Sounds useful: We have nanobsd images that configure a hard disk if present, but obviously only need to be run once.
> 
> However: NanoBSD stores uses a memory disk for /etc and stores it's permanent scripts in /conf/* (/etc/rc.initdiskless) and/or /cfg (NanoBSD) so I doubt whether the 'embedded systems' argument is of much use, as deleting the script or flagging 'firstboot' is non-permanent.

Yes, it's hard to store state on diskless systems... but I figured
that anyone building a diskless system would know to not create a
"run firstboot scripts" marker.  And not all embedded systems are
diskless...

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?525C210A.2000306>