Date: Fri, 25 Jan 2019 22:08:33 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> Cc: arch@freebsd.org Subject: Re: Importing mksh in base Message-ID: <20190125210833.ltnvsxbnlkc6njaw@ivaldir.net> In-Reply-To: <201901251936.x0PJaepi089796@pdx.rh.CN85.dnsmgr.net> References: <20190125165751.kpcjjncmf7j7maxd@ivaldir.net> <201901251936.x0PJaepi089796@pdx.rh.CN85.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--adpwicfakkugy5gt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 25, 2019 at 11:36:40AM -0800, Rodney W. Grimes wrote: > > Hi everyone, > >=20 > > I would like to import mksh in base, https://www.mirbsd.org/mksh.htm > > And make it the default root shell (not necessary in one step) > >=20 > > Why: > > 1/ it is tiny 400k (in the packaged version) all other shells fitting t= he > > expectation are bigger > It is more than twice the size of our current /bin/sh, and giving up > 200k on the nano/tiny/wifi BSD is hard to justify. 400k is near the > size of tcsh. >=20 To be fair here: mksh is 331k on my amd64 machine /bin/sh is 165k mksh only depends on libc /bin/sh depends on libc + libedit which adds an additional 231k to the batt= le. If now we are comparing to the actual root shell: csh is 419k on the same machine and it depends on libncursesw and libcrypt Best regards, Bapt --adpwicfakkugy5gt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlxLetEACgkQY4mL3PG3 Plor4hAAhZIPpHG6/DfdaUR1yReBOOQq0hLBPlfbICu0UYoNDOUgrp+/TMzYGH7H B6cqnbIRltrGUIhW/gwYrtBnbaO/cTWauY6wIeTo0gbVe3R8NEr7zvsF1CIJPgrU 1yltYciHO0v6kIFBNX28iNH0PdJK5w3Itak7hW0Nz/7IYevAAzJnxHM0oaDiDPC+ DaVZapKwXOixlGrV9kzVtMVpGJGDXHUhtRQY9BLVzm+abk8a2Ww2A8d+4DwwFBk0 pjXw2lgUweq0Lm5EMTcoN8OJZqnnur4T6dxog+pBNcj2cA/NDo3KCCwL/XQxxC58 WG/85nsZA7kVFkHzBgZUCQasclIBldoxovgmEYwqcPdP8U3/6j2zlq5r7bHoa6oh ptH2b8NXZepuTAGqE/KByqnJo8zf3AvTwdRKOgnayudYaa1SMM216oNBG05LTexb /RwxNnqo3PAa8z8jn/Y1+29arvkdv874koXxZ9jPSWiiAudeGubxtmAPhd2u7tkS mVdTicfImUZJJ98bVTMA3BhafKk5I0yl3rKlPLzbeLvrxo6QLXWzkgQIvnD2kyej grjXC0zuKTEQcqUGzIfHsPqHcU1zrSbsvyF7IUy9MrgZLFIxQDNsED7elDOYs6QU NmLXD+Re5HnIE6qvalQgw9qQYI5adxXOQRX5Rm5iMH8W6hmccao= =EXRQ -----END PGP SIGNATURE----- --adpwicfakkugy5gt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190125210833.ltnvsxbnlkc6njaw>