Re: Dash as default shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/02/2014 09:14 AM, Tomasz Torcz wrote:

   /bin/sh isn't supposed to "stay in memory". It's for one-off scripts,
not for interactive use.

It will stay in memory around command invocations, and the executable code and mapped data will remain in the page cache (hopefully).

Allegedly, dash has reduced memory requirements, so the net benefit might still be positive, but it seems unlikely. For small (cloud) images, it might be interesting to get rid of bash altogether, but considering how many scripts start with #!/bin/bash instead of #!~/bin/sh, it's not likely to work.

If we are not satisfied with bash, I think we are all better off with improving bash.

--
Florian Weimer / Red Hat Product Security
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux