Date: Sun, 9 Apr 2006 19:16:24 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/truncate truncate.1 truncate.c Message-ID: <200604091916.k39JGPwk096068@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604091916.k39JGPwk096068>
