Date: Thu, 16 Sep 2004 20:11:17 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Giorgos Keramidas <keramida@freebsd.org> Cc: freebsd-arch@freebsd.org Subject: Re: New libutil function: parse_capacity(3). Message-ID: <20040917011116.GG29528@dan.emsphone.com> In-Reply-To: <20040916224929.GA50482@gothmog.gr> References: <20040916184201.GD30151@darkness.comp.waw.pl> <20040916224929.GA50482@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 17), Giorgos Keramidas said: > On 2004-09-16 20:42, Pawel Jakub Dawidek <pjd@freebsd.org> wrote: > > http://people.freebsd.org/~pjd/patches/parse_capacity.patch > > Any comments before committing? > > Is it intentional that it works even for "negative" capacities? > > : $ ./foo > : -10 fffffffffffffff6 | -10 fffffffffffffff6 > : -10240 ffffffffffffd800 | -10k ffffffffffffd800 I'd call that a feature. Imagine a "resizefs" command, where you would enter a positive number to grow, and a negative one to shrink. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040917011116.GG29528>