Date: Tue, 2 Mar 2010 18:08:46 -0800 From: Xin LI <delphij@gmail.com> To: Maxim Sobolev <sobomax@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r204615 - head/sbin/newfs Message-ID: <a78074951003021808y1afb3f28m35a55876245a9e7d@mail.gmail.com> In-Reply-To: <201003030205.o2325AMY010089@svn.freebsd.org> References: <201003030205.o2325AMY010089@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 2, 2010 at 6:05 PM, Maxim Sobolev <sobomax@freebsd.org> 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 <delphij@delphij.net> http://www.delphij.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a78074951003021808y1afb3f28m35a55876245a9e7d>