.B \-K
]
.I device
+.br
+.B mkfs.xfs \-V
.SH DESCRIPTION
.B mkfs.xfs
constructs an XFS filesystem by writing on a special
.TP
.B \-K
Do not attempt to discard blocks at mkfs time.
+.TP
+.B \-V
+Prints the version number and exits.
.SH SEE ALSO
.BR xfs (5),
.BR mkfs (8),
.I uuid
]
.I device
+.br
+.B xfs_admin \-V
.SH DESCRIPTION
.B xfs_admin
uses the
may also be
.BR generate ,
which will generate a new UUID for the filesystem.
+.TP
+.B \-V
+Prints the version number and exits.
.PP
The
.BR mount (8)
.I num_extents
]
.I file
+.br
+.B xfs_bmap \-V
.SH DESCRIPTION
.B xfs_bmap
prints the map of disk blocks used by files in an XFS filesystem.
option will print out the
.I flags
legend.
+.TP
+.B \-V
+Prints the version number and exits.
.SH SEE ALSO
.BR xfs_fsr (8),
.BR xfs (5).
.I logdev
]
.I device
+.br
+.B xfs_check \-V
.SH DESCRIPTION
.B xfs_check
checks whether an XFS filesystem is consistent.
and file system blocks may be accomplished using
.BR xfs_db "(8)'s " convert
command.
+.TP
+.B \-V
+Prints the version number and exits.
.PP
Any output that is produced when
.B xfs_check
[
.I target2
\&... ]
+.br
+.B xfs_copy \-V
.SH DESCRIPTION
.B xfs_copy
copies an XFS filesystem to one or more targets in parallel (see
if the default location of
.I /var/tmp/xfs_copy.log.XXXXXX
is not desired.
+.TP
+.B \-V
+Prints the version number and exits.
.SH DIAGNOSTICS
.B xfs_copy
reports errors to both
commands.
.TP
.B \-V
-Prints out the current version number and exits.
+Prints the version number and exits.
.SH CONCEPTS
.B xfs_db
commands can be broken up into two classes. Most commands are for
xfs_estimate \- estimate the space that an XFS filesystem will take
.SH SYNOPSIS
.nf
-\f3xfs_estimate\f1 [ \f3\-h?\f1 ] [ \f3\-b\f1 blocksize ] [ \f3\-i\f1 logsize ]
+\f3xfs_estimate\f1 [ \f3\-h\f1 ] [ \f3\-b\f1 blocksize ] [ \f3\-i\f1 logsize ]
[ \f3\-e\f1 logsize ] [ \f3\-v\f1 ] directory ...
+.br
+.B xfs_estimate \-V
.fi
.SH DESCRIPTION
For each \f2directory\f1 argument,
.B \-h
Display usage message.
.TP
-.B \-?
-Display usage message.
-.TP
\f3\-i, \-e\f1 \f2logsize\f1
Use
.I logsize
.IP
requests an estimate of the space required by the directory / on an
XFS filesystem using an internal log of 1 megabyte.
+.TP
+.B \-V
+Print the version number and exits.
.SH EXAMPLES
.nf
.sp 8v
.SH NAME
xfs_freeze \- suspend access to an XFS filesystem
.SH SYNOPSIS
-.B xfs_freeze \-f
+.B xfs_freeze
+[
+.B \-f
|
.B \-u
+]
.I mount-point
+.br
+.B xfs_freeze \-V
.fi
.SH DESCRIPTION
.B xfs_freeze
The filesystem must be mounted to be frozen (see
.BR mount (8)).
.PP
+.PP
The
.B \-f
flag requests the specified XFS filesystem to be
Any filesystem modifications that were blocked by the freeze are
unblocked and allowed to complete.
.PP
-One of
+The
+.B \-V
+flag prints the version number and exits.
+.PP
+Unless
+.B \-V
+is specified, one of
.B \-f
or
.B \-u
xfs_fsr \- filesystem reorganizer for XFS
.SH SYNOPSIS
.nf
-\f3xfs_fsr\f1 [\f3\-v\f1] \c
-[\f3\-t\f1 seconds] [\f3\-f\f1 leftoff] [\f3\-m\f1 mtab]
-\f3xfs_fsr\f1 [\f3\-v\f1] \c
+\f3xfs_fsr\f1 [\f3\-vdg\f1] \c
+[\f3\-t\f1 seconds] [\f3\-p\f1 passes] [\f3\-f\f1 leftoff] [\f3\-m\f1 mtab]
+\f3xfs_fsr\f1 [\f3\-vdg\f1] \c
[xfsdev | file] ...
+.br
+.B xfs_fsr \-V
.fi
.SH DESCRIPTION
.I xfs_fsr
.TP
.BI \-t " seconds"
How long to reorganize.
-The default is 7200 (2 hours).
+The default is 7200 seconds (2 hours).
+.TP
+.BI \-p " passes"
+Number of passes before terminating global re-org.
+The default is 10 passes.
.TP
.BI \-f " leftoff"
Use this file instead of
Verbose.
Print cryptic information about
each file being reorganized.
+.TP
+.B \-d
+Debug. Print even more cryptic information.
+.TP
+.B \-g
+Print to syslog (default if stdout not a tty).
+.TP
+.B \-V
+Prints the version number and exits.
+
.PP
When invoked with no arguments
.I xfs_fsr
.SH SYNOPSIS
.B xfs_growfs
[
-.B \-dilnrxV
+.B \-dilnrx
] [
.B \-D
.I size
]
.I mount-point
.br
+.B xfs_growfs \-V
+.PP
+.br
.B xfs_info
[
.B \-t
.I mtab
]
.I mount-point
+.br
+.B xfs_info \-V
.SH DESCRIPTION
.B xfs_growfs
expands an existing XFS filesystem (see
.I prog
]
.I file
+.br
+.B xfs_io \-V
.SH DESCRIPTION
.B xfs_io
is a debugging tool like
.B \-x
Expert mode. Dangerous commands are only available in this mode.
These commands also tend to require additional privileges.
+.TP
+.B \-V
+Prints the version number and exits.
.PP
The other
.BR open (2)
.B \-t
truncates on open (O_TRUNC).
.TP
+.B \-n
+opens in non-blocking mode if possible (O_NONBLOCK).
+.TP
.B \-R
marks the file as a realtime XFS file after
opening it, if it is not already marked as such.
.TP
.B \-t
Print out the transactional view.
+.TP
+.B \-v
+Print "overwrite" data.
+.TP
+.B \-V
+Prints the version number and exits.
.SH SEE ALSO
.BR mkfs.xfs (8),
.BR mount (8).
]
.I source
.I target
+.br
+.B xfs_mdrestore \-V
.SH DESCRIPTION
.B xfs_mdrestore
is a debugging tool that restores a metadata image generated by
.TP
.B \-g
Shows restore progress on stdout.
+.TP
+.B \-V
+Prints the version number and exits.
.SH DIAGNOSTICS
.B xfs_mdrestore
returns an exit code of 0 if all the metadata is successfully restored or
[
.B \-efgow
] [
+.B \-m
+.I max_extents
+]
+] [
.B \-l
.I logdev
]
.I source
.I target
+.br
+.B xfs_metadump \-V
.SH DESCRIPTION
.B xfs_metadump
is a debugging tool that copies the metadata from an XFS filesystem to a file.
external log resides. The external log is not copied, only internal logs are
copied.
.TP
+.B \-m
+Set the maximum size of an allowed metadata extent. Extremely large metadata
+extents are likely to be corrupt, and will be skipped if they exceed
+this value. The default size is 1000 blocks.
+.TP
.B \-o
Disables obfuscation of file names and extended attributes.
.TP
.B \-w
Prints warnings of inconsistent metadata encountered to stderr. Bad metadata
is still copied.
+.TP
+.B \-V
+Prints the version number and exits.
.SH DIAGNOSTICS
.B xfs_metadump
returns an exit code of 0 if all readable metadata is successfully copied or
.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.
.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.
.I logdev
]
.I device
+.br
+.B xfs_ncheck \-V
.SH DESCRIPTION
.B xfs_ncheck
with no
.BI \-i " ino"
Limits the report to only those files whose inode numbers follow.
May be given multiple times to select multiple inode numbers.
+.TP
+.B \-V
+Prints the version number and exits.
.PP
If the filesystem is seriously corrupted, or very busy and looks
like it is corrupt, a message of the form that would be generated by
.I project
] ... [
.IR path " ... ]"
+.br
+.B xfs_quota \-V
.SH DESCRIPTION
.B xfs_quota
is a utility for reporting and editing various aspects of filesystem quota.
commands to the set of projects specified. Multiple
.B \-d
arguments may be given.
+.TP
+.B \-V
+Prints the version number and exits.
.PP
The optional
.I path
on a root filesystem from single user mode, immediately followed by a reboot.
.TP
.B \-V
-Prints out the current version number and exits.
+Prints the version number and exits.
.SS Checks Performed
Inconsistencies corrected include the following:
.IP 1.
.B -p
]
.IR source " ... " target
+.br
+.B xfs_rtcp \-V
.SH DESCRIPTION
.B xfs_rtcp
copies a file to the realtime partition on an XFS filesystem.
of the filesystem block size.
This is necessary since the realtime file is created using
direct I/O and the minimum I/O is the filesystem block size.
+.TP
+.B \-V
+Prints the version number and exits.
.SH SEE ALSO
.BR xfs (5),
.BR mkfs.xfs (8),