From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GJAwF-0001Oi-5r for garchives@archives.gentoo.org; Fri, 01 Sep 2006 15:28:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k81FRBpM009513; Fri, 1 Sep 2006 15:27:11 GMT Received: from desiato.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k81FL72b003948 for ; Fri, 1 Sep 2006 15:21:07 GMT Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id 9AB8A1A1B for ; Fri, 1 Sep 2006 16:21:06 +0100 (BST) Date: Fri, 1 Sep 2006 16:21:02 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Dash as /bin/sh? Message-ID: <20060901162102.719ebf45@hactar.digimed.co.uk> In-Reply-To: <200609011633.01238.harmgeerts@home.nl> References: <2102237.F9AAudgNz4@work.message-center.info> <20060901120335.48773864@hactar.digimed.co.uk> <20060901150523.3ef91b12@hactar.digimed.co.uk> <200609011633.01238.harmgeerts@home.nl> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 2.5.0-rc2 (GTK+ 2.10.2; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_mcJWlhQp5mBNly9dDNN04Oz; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 798d41a9-9c86-4719-b5c1-9e4d10ae65f4 X-Archives-Hash: 8272b1960358ff1134434dfcf790e12b --Sig_mcJWlhQp5mBNly9dDNN04Oz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 1 Sep 2006 16:33:01 +0200, Harm Geerts wrote: > You can force sux to use bash. > Just replace the first line in /usr/bin/sux with "#!/bin/bash"=20 That was the first thing I tried, it made no difference. A quick look at sux shows it building a command to pas to exec that used $SHELL,. This is probably where it's switching back to /bin/sh, but I'm not prepared to spend much time looking for it to save 14 seconds. > Speaking of which, you probably should see the shell used in the > scripts from the sys-apps/baselayout package. All shell scripts > use /bin/bash and not /bin/sh. >=20 > So linking (d)ash as the default shell doesn't nearly have the impact > you'd like it to have. A 20% reduction in boot time is a reasonable impact IMO. --=20 Neil Bothwick ... "I dropped my toothpaste," Tom said, Crestfallen. --Sig_mcJWlhQp5mBNly9dDNN04Oz Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE+E/hum4al0N1GQMRAlfTAJ4taEg8h7obOEFO4Pu/5IvvUdXKmwCfTpSG nIzUjKYlBvB/sOn8ycNtfTs= =KCig -----END PGP SIGNATURE----- --Sig_mcJWlhQp5mBNly9dDNN04Oz-- -- gentoo-user@gentoo.org mailing list