cvs commit: src/usr.bin/truncate truncate.1 truncate.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Apr 9 19:16:26 UTC 2006


pjd         2006-04-09 19:16:24 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/truncate     truncate.1 truncate.c 
  Log:
  Allow to specify size in terabytes by using T or t suffix.
  This speeds up my testing a bit. Because truncate(1) doesn't allocate
  blocks on file system before they are used, it is very useful to
  emulate huge file systems:
  
          # truncate -s 16T fs.img
          # mdconfig -a -f fs.img
          # newfs /dev/mdX
  
  (-t swap can be used as well)
  
  Revision  Changes    Path
  1.13      +6 -5      src/usr.bin/truncate/truncate.1
  1.10      +4 -0      src/usr.bin/truncate/truncate.c


More information about the cvs-src mailing list