svn commit: r204615 - head/sbin/newfs
Xin LI
delphij at gmail.com
Wed Mar 3 02:08:50 UTC 2010
On Tue, Mar 2, 2010 at 6:05 PM, Maxim Sobolev <sobomax at freebsd.org> wrote:
> Author: sobomax
> Date: Wed Mar 3 02:05:09 2010
> New Revision: 204615
> URL: http://svn.freebsd.org/changeset/base/204615
>
> Log:
> Teach newfs(8) to understand size modifiers for all options taking
> size or size-like argument. I.e. "-s 32k" instead of "-s 32768".
> Size parsing function has been shamelessly stolen from the truncate(1).
> I'm sure many sysadmins out there will appreciate this small
> improvement.
Bikeshed: why not expand_number()?
--
Xin LI <delphij at delphij.net> http://www.delphij.net
More information about the svn-src-all
mailing list