Re: New libutil function: parse_capacity(3).

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 09/17/04

  • Next message: Alexey Dokuchaev: "Re: New libutil function: parse_capacity(3)."
    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"
    

  • Next message: Alexey Dokuchaev: "Re: New libutil function: parse_capacity(3)."

    Relevant Pages

    • Printing positive from 2000 but negative from XP
      ... I have a custom thermal printer for which I tried to make a custom driver ... The data that goes to the printer has to consist in a start block command ... actual pixels that have to be printed followed 2368 bytes of FF. ... *Feature: Resolution ...
      (microsoft.public.development.device.drivers)
    • Re: Work Menu - Word:mac 2008
      ... Word developers know it's a BAD feature on whatever platform ... Certainly not because they're saying 'Well if you'd only ... individual items from the list... ... command, but there are a few points to consider here: ...
      (microsoft.public.mac.office.word)
    • Re: Terminal Emulator Security Issues
      ... > Would stripping escape sequences from the window title work? ... any such sequences in the title/icon name in 0.9.2 anyway...but I ... Since the UNIX command line is indistinguishable ... like me who would always rather do a feature right than not do it at ...
      (Bugtraq)
    • [Full-Disclosure] Re: Terminal Emulator Security Issues
      ... > Would stripping escape sequences from the window title work? ... any such sequences in the title/icon name in 0.9.2 anyway...but I ... Since the UNIX command line is indistinguishable ... like me who would always rather do a feature right than not do it at ...
      (Full-Disclosure)
    • Re: MV community lawsuits
      ... I seem to recall that Mentor had a command called RECOVER-FD... ... Not surprisingly, the AQL verbs were ADD, DELETE ... Their use would, I imagine, be indirect, via calls from ...
      (comp.databases.pick)