Re: New libutil function: parse_capacity(3).
From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 09/17/04
- Previous message: Pawel Jakub Dawidek: "Re: New libutil function: parse_capacity(3)."
- In reply to: Giorgos Keramidas: "Re: New libutil function: parse_capacity(3)."
- Next in thread: Alexey Dokuchaev: "Re: New libutil function: parse_capacity(3)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Sep 2004 20:11:17 -0500 To: Giorgos Keramidas <keramida@freebsd.org>
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 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Pawel Jakub Dawidek: "Re: New libutil function: parse_capacity(3)."
- In reply to: Giorgos Keramidas: "Re: New libutil function: parse_capacity(3)."
- Next in thread: Alexey Dokuchaev: "Re: New libutil function: parse_capacity(3)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|