NAME | SYNOPSIS | DESCRIPTION | OPTIONS | COLOPHON |
xfs_mkfile(8) System Manager's Manual xfs_mkfile(8)
xfs_mkfile - create an XFS file
xfs_mkfile [ -v ] [ -n ] [ -p ] size[k|b|m|g] filename ... xfs_mkfile -V
xfs_mkfile creates one or more files. The file is padded with zeroes by default. The default size is in bytes, but it can be flagged as kilobytes, blocks, megabytes, or gigabytes with the k, b, m, or g suffixes, respectively.
-v Verbose. Report the names and sizes of created files. -n No bytes. Create a holey file - that is, do not write out any data, just seek to end of file and write a block. -p Preallocate. The file is preallocated, then overwritten with zeroes, then truncated to the desired size. -V Prints the version number and exits.
This page is part of the xfsprogs (utilities for XFS filesystems)
project. Information about the project can be found at
⟨http://xfs.org/⟩. If you have a bug report for this manual page, see
⟨http://oss.sgi.com/bugzilla/buglist.cgi?product=XFS⟩. This page was
obtained from the project's upstream Git repository
⟨git://oss.sgi.com/xfs/cmds/xfsprogs⟩ on 2017-07-05. If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
to man-pages@man7.org
xfs_mkfile(8)