From owner-cvs-src@FreeBSD.ORG Sat Jan 12 22:58:07 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CBCF16A419; Sat, 12 Jan 2008 22:58:07 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0577013C461; Sat, 12 Jan 2008 22:58:07 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0CMw6WB042089; Sat, 12 Jan 2008 22:58:06 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0CMw6nk042088; Sat, 12 Jan 2008 22:58:06 GMT (envelope-from simon) Message-Id: <200801122258.m0CMw6nk042088@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Sat, 12 Jan 2008 22:58:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 22:58:07 -0000 simon 2008-01-12 22:58:06 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: - Add support for using swap backed md(4) devices for building the disk image. In some cases this can be a significant speed-up, if most of the image can be kept in RAM while being populated. On the 2GB image I'm currently working with, the build time, excluding buildworld/buildkernel, goes from ~17 minutes to ~6 minutes. This is not enabled by default, as it might have the opposite effect on low-memory systems. - During the generation of the image file be a bit more verbose in the log file so it is possible to see what's being done. - Add a NANO_DISKIMGDIR variable which makes it possibly to place the final images somewhere other than ${MAKEOBJDIRPREFIX}. The default value for NANO_DISKIMGDIR is $MAKEOBJDIRPREFIX. Go for it: phk Revision Changes Path 1.30 +33 -6 src/tools/tools/nanobsd/nanobsd.sh