summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man8/xfs_mkfile.8
blob: abaa4e60e0f04b1df6be299cb4e7be87bae18dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.TH xfs_mkfile 8
.SH NAME
xfs_mkfile \- create an XFS file
.SH SYNOPSIS
.B xfs_mkfile
[
.B \-v
] [
.B \-n
] [
.B \-p
]
.I size\c
.RB [ k | b | m | g ]
.IR filename " ..."
.br
.B xfs_mkfile \-V
.SH DESCRIPTION
.B 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
.BR k ,
.BR b ,
.BR m ,
or
.B g
suffixes, respectively.
.SH OPTIONS
.TP
.B \-v
Verbose. Report the names and sizes of created files.
.TP
.B \-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.
.TP
.B \-p
Preallocate.  The file is preallocated, then overwritten with zeroes,
then truncated to the desired size.
.TP
.B \-V
Prints the version number and exits.