Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-embedded
On Thu, Dec 11, 2003 at 10:27:05PM +0200, Martin Schlemmer wrote:
> On Thu, 2003-12-11 at 19:54, Seemant Kulleen wrote:
> > On Thu, 2003-12-11 at 09:45, david@... wrote:
> >
> > >
> > > what do you mean by modularise ? As in... have a core peice of code
> > > for baselayout you can wrap a "heavy" layer or a "lite" layer around ?
> > > or... just including a 'baselayout-lite' version of every init
> > > script with each package ?
> >
> > The first
>
> Well, what will be too heavy? The core is
> /sbin/{rc,runscript,runscript.sh,functions.sh} and stuff in
> /lib/rcscripts. They only depend on bash and gawk.
>
yeah... but lets take a look at the size of those files..
redhate root # wc -l /sbin/runscript /sbin/rc /sbin/runscript.sh
/sbin/functions.sh
1 /sbin/runscript
650 /sbin/rc
529 /sbin/runscript.sh
623 /sbin/functions.sh
1803 total
for an embedded system... do we really need 500-600 lines of sourced
bash scripts to see a colored [ Ok ] ?
I'm not sure about the other people here, but startup times are very
crucial for my embedded platform, and on a machine with fairly limited
resources things like sourcing that much bash is going to take a long
time for each service...
--
gentoo-embedded@g.o mailing list
|
|