diff options
author | edwin <edwin@FreeBSD.org> | 2009-06-16 12:33:38 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2009-06-16 12:33:38 +0000 |
commit | d0cf1664967cf5fe1c08502ca611348ebffff25c (patch) | |
tree | 0904eea002393ca2f3e1c30c5fa421e9f622b572 /contrib/ipfilter | |
parent | a2de12ba1a5666927f877d527a0d5cf7ad5c3a8f (diff) | |
download | FreeBSD-src-d0cf1664967cf5fe1c08502ca611348ebffff25c.zip FreeBSD-src-d0cf1664967cf5fe1c08502ca611348ebffff25c.tar.gz |
Fix NanoBSD when the data partition size is defined as a negative
number.
It is possible to ask nanobsd.sh to create a 'data' partition,
separate from the system or configuration partitions, and
furthermore, by specifying a negative value for its size
to request that it use all space unused by those partitions
for its own size.
Because the two lines of code that calculate how much space
is available for this data partition are written in perl-like
syntax, the awk code that does the processing performs the
calculation incorrectly.
[note - this was already fixed by r174936]
Furthermore, a comparison later down fails to newfs the
partition when the size is negative.
PR: misc/127759
Submitted by: Cyrus Rahman <crahman@gmail.com>
MFC after: 1 week
Diffstat (limited to 'contrib/ipfilter')
0 files changed, 0 insertions, 0 deletions