mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 08:38:13 -05:00
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) |
||
|---|---|---|
| .. | ||
| Makefile | ||
| truncate.1 | ||
| truncate.c | ||