Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2010 02:05:09 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/newfs newfs.c
Message-ID:  <201003030850.o238oHvJ001752@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sobomax     2010-03-03 02:05:09 UTC

  FreeBSD src repository

  Modified files:
    sbin/newfs           newfs.c 
  Log:
  SVN rev 204615 on 2010-03-03 02:05:09Z by sobomax
  
  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.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.91      +84 -11    src/sbin/newfs/newfs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003030850.o238oHvJ001752>