| 1 |
.TH xfs_mkfile 8 |
| 2 |
.SH NAME |
| 3 |
xfs_mkfile \- create an XFS file |
| 4 |
.SH SYNOPSIS |
| 5 |
.B xfs_mkfile |
| 6 |
[ |
| 7 |
.B \-v |
| 8 |
] [ |
| 9 |
.B \-n |
| 10 |
] [ |
| 11 |
.B \-p |
| 12 |
] |
| 13 |
.I size\c |
| 14 |
.RB [ k | b | m | g ] |
| 15 |
.IR filename " ..." |
| 16 |
.br |
| 17 |
.B xfs_mkfile \-V |
| 18 |
.SH DESCRIPTION |
| 19 |
.B xfs_mkfile |
| 20 |
creates one or more files. The file is padded with zeroes by default. |
| 21 |
The default size is in bytes, but it can be |
| 22 |
flagged as kilobytes, blocks, megabytes, or gigabytes with the |
| 23 |
.BR k , |
| 24 |
.BR b , |
| 25 |
.BR m , |
| 26 |
or |
| 27 |
.B g |
| 28 |
suffixes, respectively. |
| 29 |
.SH OPTIONS |
| 30 |
.TP |
| 31 |
.B \-v |
| 32 |
Verbose. Report the names and sizes of created files. |
| 33 |
.TP |
| 34 |
.B \-n |
| 35 |
No bytes. Create a holey file - that is, do not write out any data, just |
| 36 |
seek to end of file and write a block. |
| 37 |
.TP |
| 38 |
.B \-p |
| 39 |
Preallocate. The file is preallocated, then overwritten with zeroes, |
| 40 |
then truncated to the desired size. |
| 41 |
.TP |
| 42 |
.B \-V |
| 43 |
Prints the version number and exits. |