Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 07:03:59 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        tak.official@gmail.com
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: nanobsd boot sequence problem
Message-ID:  <8B3635F5-ABD9-470B-9F2A-789886B23A08@bsdimp.com>
In-Reply-To: <CAPkyVLzu=RVVgJzcszKDAWRq-wBPgZVphC_6UVjzMJPitBaDaA@mail.gmail.com>
References:  <CAPkyVLzu=RVVgJzcszKDAWRq-wBPgZVphC_6UVjzMJPitBaDaA@mail.gmail.com>

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

On Jan 14, 2013, at 1:11 AM, takCoder wrote:

> hi everyone,
>=20
> i'm new in nanobsd field, trying to well-config my first nanobsd =
server for
> a while..
>=20
> here's my base question: which script is responsible for creating /etc =
and
> /var as md drives?
>=20
> i wanna know this cause early in my startup sequence, i've got  a =
some-how
> myinit script which is in need of modifying /etc files; but it seems =
that
> when myinit script is running, there is no such rw /etc there.. it's
> confusing.. so i thought if i knew the creator script, i can have the =
right
> sequence via REQUIRE and BEFORE and alike..
>=20
> thank you for all your ideas and tips, and specially, your time :)

/etc/rc.initdiskless does that, called early from /etc/rc, before the =
rc.d scripts. So I'm surprised you are having issues...

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B3635F5-ABD9-470B-9F2A-789886B23A08>