Subject: Re: Recent -current release ISO fails to boot
To: Martin Husemann <martin@duskware.de>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 06/08/2004 18:27:33
On Tue, Jun 08, 2004 at 02:58:49PM +0200, Martin Husemann wrote:
> On Tue, Jun 08, 2004 at 01:42:55AM -0400, Mike Schreckengost wrote:
> > init: Creating mfs /dev (373 blocks, 896 inodes)
> > printf: not found
> > printf: not found
>
> Nice side effect:
>
> RCS file: /cvsroot/src/bin/sh/mkbuiltins,v
> Working file: mkbuiltins
> revision 1.21
> date: 2004/06/06 07:03:11; author: christos; state: Exp; lines: +9 -1
> don't include the printf builtin if we are SMALL; saves 10K.
Change:
minor=$(printf "%02d" $unit)
to:
x=00$unit
minor=${x#${x%??}}
unset x
David
--
David Laight: david@l8s.co.uk