From owner-svn-src-head@FreeBSD.ORG Wed Mar 3 02:08:50 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31B66106564A; Wed, 3 Mar 2010 02:08:50 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pz0-f182.google.com (mail-pz0-f182.google.com [209.85.222.182]) by mx1.freebsd.org (Postfix) with ESMTP id E631E8FC1A; Wed, 3 Mar 2010 02:08:49 +0000 (UTC) Received: by pzk12 with SMTP id 12so731706pzk.14 for ; Tue, 02 Mar 2010 18:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xnM583OASZDInKfVqvt98QM1EioTgfiFUStu1ZO+GeY=; b=c/pzql3f8Qc4xTNyZdrLnG62Mggxhye3NHepMsw7Vx51Lmb9UvXgDtOQwg6SBlQk11 3N8qrop+ID5UfwiOxmP9q0C6dxkpHZ9a+OjAQodCBgjvZ4ZuBFpIlSMf1qlvdEMyMRk1 7FHY8uldJ9+SQjNrfe9R0i91m10MR5OhdYh9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SPzTA7k2LHFkTiKUTlgwqfMzSLWqIy01FMKCYm+zOlTl9bx88kEpYZc0tH15CoAPp1 WIl9FrsNK6mXMF8sdC6HWr/V7RtGh473Di0JZkkwvRNvM/F66WJK8deU5EyVnaWcL3wj VQhOX7bwdUOk4NK9zXtYjF+pH2WuHnQsDkxpY= MIME-Version: 1.0 Received: by 10.114.248.7 with SMTP id v7mr588213wah.36.1267582127021; Tue, 02 Mar 2010 18:08:47 -0800 (PST) In-Reply-To: <201003030205.o2325AMY010089@svn.freebsd.org> References: <201003030205.o2325AMY010089@svn.freebsd.org> Date: Tue, 2 Mar 2010 18:08:46 -0800 Message-ID: From: Xin LI To: Maxim Sobolev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r204615 - head/sbin/newfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2010 02:08:50 -0000 On Tue, Mar 2, 2010 at 6:05 PM, Maxim Sobolev wrote: > Author: sobomax > Date: Wed Mar =C2=A03 02:05:09 2010 > New Revision: 204615 > URL: http://svn.freebsd.org/changeset/base/204615 > > Log: > =C2=A0Teach newfs(8) to understand size modifiers for all options taking > =C2=A0size or size-like argument. I.e. "-s 32k" instead of "-s 32768". > =C2=A0Size parsing function has been shamelessly stolen from the truncate= (1). > =C2=A0I'm sure many sysadmins out there will appreciate this small > =C2=A0improvement. Bikeshed: why not expand_number()? --=20 Xin LI http://www.delphij.net