Gentoo Archives: gentoo-embedded

From: "Peter S. Mazinger" <ps.m@×××.net>
To: "Peter S. Mazinger" <mps@××××××.net>
Cc: david@×××××××××.com, Chris PeBenito <pebenito@g.o>, AJ Armstrong <aja@g.o>, Embedded Gentoo Mail List <gentoo-embedded@g.o>
Subject: Re: [gentoo-embedded] base-layout lite
Date: Sat, 13 Dec 2003 16:55:53
Message-Id: Pine.LNX.4.44.0312132351340.26200-100000@lnx.bridge.net
In Reply to: Re: [gentoo-embedded] base-layout lite by "Peter S. Mazinger"
On Sat, 13 Dec 2003, Peter S. Mazinger wrote:

> On Fri, 12 Dec 2003 david@×××××××××.com wrote: > > > On Thu, Dec 11, 2003 at 11:07:25PM +0100, Peter S. Mazinger wrote: > > > On Thu, 11 Dec 2003 david@×××××××××.com wrote: > > > > > > > On Tue, Dec 09, 2003 at 10:09:51PM +0100, Peter S. Mazinger wrote: > > > > > Not in busybox, but you'll find it on http://www.fefe.de/minit/ and there > > > > > is a link to another explanation (attached) and configs. > > > > > > > > > > > > > wow, minit is really cool.... from the docs page: > > > > > > > > "Minit puts all its configuration-files into /etc/minit by default, but > > > > you can change that very easy. Minit brings two companion utilities > > > > with it: msvc and pidfilehack. msvc can start and stop processes just > > > > like svc from the daemontools. pidfilehack can be used to run daemons > > > > like ssh, read the PID and tell minit this PID so minit will know when > > > > sshd exits and can restart it." > > > > > > > > looks like everything we need is already taken care of with minit... > > > > > > > > * special config info for each service can be set > > > > * dependancies > > > > * specific CLI switches(parameters) for each service > > > > * tracking of run away services(go find th pid!) > > > > * logging > > > > > > > > I've got some things that I've been working with, and I figure adding > > > > minit would be a good little test. I'll post my results in the next > > > > couple of days. > > > I have already a busybox based version of the startup files (busybox ash > > > scripts) the only non-busybox utility is devfsd (I do not know how the > > > /etc/devfsd.conf should look like to conform to busybox's devfsd needs > > > Interested? I'll send you a tarball of my /etc/minit. > > > > > > > sure sounds good. I also found some example stuff on the minit > > website here: http://www.fefe.de/minit/minit-data.tar.bz2 > > > > more exmaples are always fun! > Here it comes. Not everything is checked, rewritten, because I first > copied another version and adapted afterwards for my needs. Check > default, that is working. All those using using #!/bin/busybox <some > command> are working, tested (I wanted to enforce the busybox usage, > because I had the "original" stuff too. As you'll see, I had problems > with devfsd (this is "original", not busybox version, because I could not > adapt the /etc/devfsd.conf file yet for busybox's devfsd). Any help? > There is also another problem with busybox's devfsd, it works only with > "original" modprobe, not busybox one, if MODLOAD is used (autoloading of > modules).
WARNING: The files I have attached don't work correctly on shutdown/halt/reboot, so nothing will be unmounted, or remounted ro. Sorry for that, no solution yet, Peter
> > I have subscribed to the busybox list (too), maybe I'll some help there. > > Also I have to check how it works with msh (to support uClinux too) > > Peter > >
-- Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 ____________________________________________________________________ Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu -- gentoo-embedded@g.o mailing list