1xfs_mkfile(8) System Manager's Manual xfs_mkfile(8)
2
3
4
6 xfs_mkfile - create an XFS file
7
9 xfs_mkfile [ -v ] [ -n ] [ -p ] size[k|b|m|g] filename ...
10 xfs_mkfile -V
11
13 xfs_mkfile creates one or more files. The file is padded with zeroes by
14 default. The default size is in bytes, but it can be flagged as kilo‐
15 bytes, blocks, megabytes, or gigabytes with the k, b, m, or g suffixes,
16 respectively.
17
19 -v Verbose. Report the names and sizes of created files.
20
21 -n No bytes. Create a holey file - that is, do not write out any
22 data, just seek to end of file and write a block.
23
24 -p Preallocate. The file is preallocated, then overwritten with
25 zeroes, then truncated to the desired size.
26
27 -V Prints the version number and exits.
28
29
30
31 xfs_mkfile(8)