Posted Jul 24, 2006 21:01 UTC (Mon) by aegl
Parent article: OLS: On how user space sucks
A long time ago in a Unix version far, far away /bin/true was an empty shell script (since it was executable, the shell would run it as a shell script when the kernel failed the exec(2), with nothing in the script, the shell returned a 0 exit code).
$ ls -l /bin/true
-rwxr-xr-x 1 root root 21969 2004-04-05 21:32 /bin/true
But it is worse. Run strace on /bin/true, and you'll see it open and mmap a dozen locale files (and try and fail to open a dozen more).
The problems here seem to have arisen because someone decided to add "--version" and "--help" arguments. Aaargggghhhh!
to post comments)