[BusyBox] Another thing wrong with init...

Rob Landley rob at landley.net
Wed Jun 2 11:35:04 UTC 2004


On Tuesday 01 June 2004 02:43, tom at ceisystems.com wrote:
> Rob,
>
> > If you put a comment after an inittab line, it barfs, looking
> > for all those spaces and the # as part of the name.
>
> I hate "inline" comments, I really do.
>
> > The easy fix is to add " \t#" to the list of characters that
> > cause it to filter the sucker through the shell...
>
> I was wondering, off hand, if some form of "parsing" should be done to
> the line in inittab. Perhaps strip out comments, etc. when reading in
> the commands. I'd imagine that would save, albeit a minute amount, of
> RAM during bootup anyway. Thoughts?

The code you add cancels out your potential savings.  If you're that worried 
about ram, don't HAVE that stuff in your inittab.

> Thomas Cameron

Rob
-- 
www.linucon.org: Linux Expo and Science Fiction Convention
October 8-10, 2004 in Austin Texas.  (I'm the con chair.)




More information about the busybox mailing list