Date: Thu, 27 Dec 2007 12:17:45 +0000 (UTC) From: "Simon L. Nielsen" <simon@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh Message-ID: <200712271217.lBRCHj0d056997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712271217.lBRCHj0d056997>
