Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xfs_mkfile(8) [centos man page]

xfs_mkfile(8)						      System Manager's Manual						     xfs_mkfile(8)

NAME
xfs_mkfile - create an XFS file SYNOPSIS
xfs_mkfile [ -v ] [ -n ] [ -p ] size[k|b|m|g] filename ... xfs_mkfile -V DESCRIPTION
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. OPTIONS
-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. xfs_mkfile(8)

Check Out this Related Man Page

mkfile(1M)                                                                                                                              mkfile(1M)

NAME
mkfile - create a file SYNOPSIS
mkfile [-nv] size [g | k | b | m] filename... mkfile creates one or more files that are suitable for use as NFS-mounted swap areas, or as local swap areas. When a root user executes mkfile(), the sticky bit is set and the file is padded with zeros by default. When non-root users execute mkfile(), they must manually set the sticky bit using chmod(1). The default size is in bytes, but it can be flagged as gigabytes, kilobytes, blocks, or megabytes, with the g, k, b, or m suffixes, respectively. -n Create an empty filename. The size is noted, but disk blocks are not allocated until data is written to them. Files created with this option cannot be swapped over local UFS mounts. -v Verbose. Report the names and sizes of created files. USAGE
See largefile(5) for the description of the behavior of mkfile when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ chmod(1), swap(1M), attributes(5), largefile(5) 2 Feb 2001 mkfile(1M)
Man Page

Featured Tech Videos