1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00
freebsd/usr.bin/truncate
Pawel Jakub Dawidek e6f3621dd3 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)
2006-04-09 19:16:24 +00:00
..
Makefile
truncate.1 Allow to specify size in terabytes by using T or t suffix. 2006-04-09 19:16:24 +00:00
truncate.c Allow to specify size in terabytes by using T or t suffix. 2006-04-09 19:16:24 +00:00