/bin/true (Re: GNU/Linux stance by Richard Stallman)

Brian J. Swetland (swetland@be.com)
Mon, 29 Mar 1999 00:49:04 -0800


[david parsons <o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s>]
> >
> >ObKernel: the kernel does not fall back to using /bin/sh to execute files
>
> Well, that sucks. That means that I have to resort to wasting
> FIFTY-SIX WHOLE BYTES to have /bin/true work properly in all
> situations (yeah, I could probably make it smaller, but to do
> that would mean that I'd need to do it in assembly rather than
> C.)

Wouldn't it be more worthwhile to just make it a shell builtin (it
was pointed out to me that bash does this)? I mean is a handful of
bytes of executable or a disk block more or less significant compared
to the cost of the fork'n'exec here? Doesn't seem likely.

Brian

-- 
 Brian J. Swetland | Kernel Engineer | "This patch fixes the Problem of Evil
  swetland@be.com  | Be Incorporated |  and the dangling-else ambiguity." -acb

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/