On Thu, Jan 15, 2009 at 10:35 AM, Rob OpenSuSE <rob.opensuse.linux@googlemail.com> wrote:
2009/1/15 Matt Sealey <matt@genesi-usa.com>:
On Thu, Jan 15, 2009 at 9:06 AM, Rob OpenSuSE <rob.opensuse.linux@googlemail.com> wrote:
To be fair, nash has also been proven to be a poor choice in practice. I don't know if dash is better, it's just SMALLER than bash, and has a much lower impact on the system regarding
Ubuntu introduced it with 7.10 IIRC and it is used for all their start up scripts, not just early stage booting, and a large speed up was claimed due to it's greater efficiency with only a small number of alterations to scripts.
Ubuntu also have the simple policy inherited from Debian that ALL init scripts MUST be posix compliant and be able to be run through the standard GNU sh. It turns out that ash/dash/nash are smaller than GNU sh and just as compatible. I don't think SUSE has that policy.
/bin/bash may be the path, but actually something else in practice.
No, usually /bin/bash is always /bin/bash - and /bin/sh is redirected. On SUSE it's to /bin/bash. On Debian/Ubuntu it's to /bin/dash. On other systems sh isn't redirected at all and some it's csh or ash.. :) What's clear is that whichever shell is picked for the initrd it needs to work, and if dash won't work it needs to be bash, explicitly (and /bin/sh needs to be aliased to it as it already is).
doubt that GNU bash would become the shell of choice for this task, though perhaps it has attractions by avoiding maintenance issues.
This is exactly the explanation I got from the powers that be.
Folk like booting systems and using Busy Box tools, so presumbably something lightweight would actually be the final choice. People do care about boot speed.
But not enough that they want to break it. I am dropping the bash/dash thing because there is no will to upset the boat here just to speed up boot by a few seconds needs significant reworks of init scripts and significant work by maintainers on a new shell. Squashfs is already maintained by the installer team though :D -- Matt Sealey <matt@genesi-usa.com> Genesi, Manager, Developer Relations -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org