From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 1 20:37:53 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C431065672 for ; Wed, 1 Sep 2010 20:37:53 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 890218FC12 for ; Wed, 1 Sep 2010 20:37:53 +0000 (UTC) Received: by iwn34 with SMTP id 34so1266947iwn.13 for ; Wed, 01 Sep 2010 13:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8b5rBYTEmpjfqhoamO9H+VtwOpOnyu82aQ6cPNotU7o=; b=rl2bWepIcW6JVKXAEIz1jsjxI22kjuK1/wxcxFFLuO5H+eDM3oMXmgyAubuGMQ/+2u kt4wZK/p96xVtqRVTbjI03gvtL/300syEwHN6QRdtws7Oa+RmavThql3Z/gdv/MeFOvT TD9YoX2hvwggPbx49JG1Z1UJ4YlAWi0LpsTXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qK0dn+kXSI0YSbHJ8QW45z7atxoMAJevmE8VdnrUB2BSywUDTUtDjEWzCuatPJ48mp E5AE/hc/mfLR7uGdKkkoSBcrGm4AYL9+VM+gRfNIJVr/L6OMY5s22d9klgCGGEzdecEP tseXmRPKO20XyKTI5V6T9h7OwljOXHWIZnlMM= MIME-Version: 1.0 Received: by 10.231.152.78 with SMTP id f14mr9664479ibw.60.1283371639782; Wed, 01 Sep 2010 13:07:19 -0700 (PDT) Received: by 10.231.146.10 with HTTP; Wed, 1 Sep 2010 13:07:19 -0700 (PDT) In-Reply-To: <86bp8h5mn6.fsf@ds4.des.no> References: <86bp8h5mn6.fsf@ds4.des.no> Date: Wed, 1 Sep 2010 13:07:19 -0700 Message-ID: From: Xin LI To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: /stand/camcontrol X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 20:37:53 -0000 2010/9/1 Dag-Erling Sm=C3=B8rgrav : > Consider the following commit: > > =C2=A0r89471 | joerg | 2002-01-17 21:26:14 +0100 (Thu, 17 Jan 2002) | 8 l= ines > > =C2=A0Provide an option to make camcontrol `minimalistic': if the (env/ma= ke) > =C2=A0variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will b= e > =C2=A0built that only knows the "rescan" and "reset" subcommands. =C2=A0T= he > =C2=A0resulting code is small enough to still fit onto the boot floppy. > > This makes /stand/camcontrol completely useless. > > Do we still care about fitting sysinstall on a floppy? > > The full camcontrol is about 100 kB larger than the pared-down version, > but I'm not sure the difference is that big when it's crunched with the > rest of /stand. > > =C2=A0 text =C2=A0 =C2=A0data =C2=A0 =C2=A0 bss =C2=A0 =C2=A0 dec =C2=A0 = =C2=A0 hex filename > =C2=A0268751 =C2=A0 26464 =C2=A0 54112 =C2=A0349327 =C2=A0 5548f camcontr= ol-crunch > =C2=A0355122 =C2=A0 27064 =C2=A0 58904 =C2=A0441090 =C2=A0 6bb02 camcontr= ol-full My 2 cents: I think we don't really need to care about the size for rescue binary after the splitfs VFS layer have been introduced to libstand? Build of release split MFSROOT was 2006-ish and I feel that this can be gone. One of my hope is that we can add bzip2 or even 7zip support to loader, though, which may not fit a floppy though. Cheers, --=20 Xin LI http://www.delphij.net