[BusyBox] Patch to add quiet flag to mount/umount
Paul Fox
pgf at brightstareng.com
Mon Jul 5 23:23:38 UTC 2004
> > Something like this?
> [snip]
> > +#ifdef CONFIG_FEATURE_SHUT_UP
> > + close(0);
> > + close(1);
> > + close(2);
> > + open("/dev/null");
> > + dup(0);
> > + dup(0);
> > +#endif
> > +
> > run_applet_by_name(bb_applet_name, argc, argv);
>
> Presumably that would have undesirable side effects (even catastrophic
> ones) for apps which read from stdin, or write to stdout. I wouldn't like
> to use a shell built this way.
i don't know erik very well at all, but i certainly assumed that
the above was intended as a joke, probably induced from lack of
sleep, excess guilt, or something like that...
paul
=---------------------
paul fox, pgf at brightstareng.com
More information about the busybox
mailing list