From owner-freebsd-small@FreeBSD.ORG Tue Nov 4 10:08:31 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53A4816A4CE for ; Tue, 4 Nov 2003 10:08:31 -0800 (PST) Received: from gta.com (mailgate.gta.com [199.120.225.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 7154543FCB for ; Tue, 4 Nov 2003 10:08:30 -0800 (PST) (envelope-from lab@gta.com) Received: (qmail 2860 invoked by uid 1000); 4 Nov 2003 18:08:29 -0000 Date: 4 Nov 2003 18:08:29 -0000 Message-ID: <20031104180829.2859.qmail@gta.com> From: Larry Baird To: small@freebsd.org In-Reply-To: <3FA7CC50.8070909@bsd.com.br> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.5-RELEASE-p3 (i386)) Subject: Re: Pico and the big ash X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 18:08:31 -0000 In article <3FA7CC50.8070909@bsd.com.br> you wrote: > Hello :) > > I have made a PicoBSD based on the latest 5.1-CURRENT code (w/o the > debug stuff, sure) and i noticed that /bin/sh is considerably bigger on > 5 when compared to RELENG_4 (had never noticed before). Is there a > compatible sh (for the rc scripts) shell, that is smallber than the > system's? Or, a way i can build src/bin/sh smaller, or even an > alternative not so feature-rich ash shell that can compile on REL_5.. > Have also tried msh tinyware, but it does not build. I am not a good C > programmer so rewriting myself the system's src/bin/sh is something i > cannt do. > > Any idea/suggestions? If you rebuild the tinyware stuff with -DOINIT_RC it will not use an external shell, but instead use a simple built in one. Depending upon your shell needs this may or may not work for you. Take a look at /usr/src/release/picobsd/tinyware/oinit/README. Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080