lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: GNU/Linux stance by Richard Stallman
Date
In article <7dls0b$uq2$1@alfie.demon.co.uk>,
Nick Holloway <Nick.Holloway@alfie.demon.co.uk> wrote:
>
>ObKernel: the kernel does not fall back to using /bin/sh to execute files

Indeed.

A zero-length /bin/true does not work reliably, and never has. That's
why it's not zero-length any more (not on any modern system I know of,
anyway). You need to have the magic "#!/bin/sh" part to make it be
reliably recognized as a shell script.

However, making it do anything but a simple "exit 0" is horrible.
Anybody who really thinks /bin/true should report a version number and a
help string (or even a copyright notice) needs to get his head examined.

Yes, the FSF coding style says it should do it. But you should never
let rules overrule common sense - if you do, you end up doing stupid
things (this is _especially_ true of the FSF codingstyle - see the
kernel Documentation/CodingStyle about some other issues).

Linus

-
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.049 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site