lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject/bin/true (Re: GNU/Linux stance by Richard Stallman)
[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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.681 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site