From owner-cvs-src@FreeBSD.ORG Thu Dec 27 12:17:45 2007 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 D156E16A417; Thu, 27 Dec 2007 12:17:45 +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 A673613C458; Thu, 27 Dec 2007 12:17:45 +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 lBRCHj5l056998; Thu, 27 Dec 2007 12:17:45 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBRCHj0d056997; Thu, 27 Dec 2007 12:17:45 GMT (envelope-from simon) Message-Id: <200712271217.lBRCHj0d056997@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Thu, 27 Dec 2007 12:17:45 +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: Thu, 27 Dec 2007 12:17:45 -0000 simon 2007-12-27 12:17:45 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: - Fix calculation of data slice size when NANO_DATASIZE=-1. Due to a typo, setting NANO_DATASIZE=-1 resulted in the data slice being the same size as entire image instead of the size of the remaining space on the image. - Fix detection of overcommit of the slices. This fix mainly result in a nicer error than when newfs etc. tries to write beyond the end of the disk image. MFC after: 2 weeks X-MFC after: RELENG_7 is open again Revision Changes Path 1.29 +2 -2 src/tools/tools/nanobsd/nanobsd.sh