From owner-cvs-src@FreeBSD.ORG Fri Sep 21 10:00:06 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7D5016A419; Fri, 21 Sep 2007 10:00:06 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C68C213C44B; Fri, 21 Sep 2007 10:00:06 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8LA061g093268; Fri, 21 Sep 2007 10:00:06 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8LA064v093266; Fri, 21 Sep 2007 10:00:06 GMT (envelope-from pjd) Message-Id: <200709211000.l8LA064v093266@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 21 Sep 2007 10:00:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/geom/core geom.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 10:00:07 -0000 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