nanobsd boot sequence problem

Warner Losh imp at bsdimp.com
Mon Jan 14 14:04:03 UTC 2013


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

> hi everyone,
> 
> i'm new in nanobsd field, trying to well-config my first nanobsd server for
> a while..
> 
> here's my base question: which script is responsible for creating /etc and
> /var as md drives?
> 
> 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..
> 
> 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



More information about the freebsd-embedded mailing list