cvs commit: src/sbin/geom/core geom.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 21 03:00:07 PDT 2007


pjd         2007-09-21 10:00:06 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/core       geom.c 
  Log:
  For arguments declared as numbers always use expand_number(3).
  This allows to use numbers in human-readable form in many geom(8)
  utilities. Such a simple change and makes live so much nicer.
  Some examples:
  
          gstripe label -s 16k
          gmirror label -s 4k
          gnop create -o 1g -s 128m -S 2k
          gjournal label -s 2g
          geli label -i 128k -s 4k
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.32      +1 -3      src/sbin/geom/core/geom.c


More information about the cvs-all mailing list