From 54d46c1c88b20225eaab412a1c489aae9a610a03 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 21 Nov 2005 20:15:50 +0000 Subject: [PATCH] Update xfs_io man page to document the extsize command. --- man/man8/fsck.xfs.8 | 6 +++--- man/man8/xfs_io.8 | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/man/man8/fsck.xfs.8 b/man/man8/fsck.xfs.8 index ba7d1c1f4..930f6e820 100644 --- a/man/man8/fsck.xfs.8 +++ b/man/man8/fsck.xfs.8 @@ -16,9 +16,9 @@ time if necessary, so .I fsck.xfs simply exits with a zero exit status. .PP -If you wish to check check the consistency of an XFS -filesystem, or repair a damaged or corrupt XFS filesystem, -see +If you wish to check the consistency of an XFS filesystem, +or repair a damaged or corrupt XFS filesystem, +see .IR xfs_check (8) and .IR xfs_repair (8). diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8 index 99903db34..79a928e8f 100644 --- a/man/man8/xfs_io.8 +++ b/man/man8/xfs_io.8 @@ -137,6 +137,19 @@ See the \f3pwrite\f1 command. Prints the block mapping for the current open file. Refer to the \f2xfs_bmap\f1 manual page for complete documentation. .TP +\f3extsize\f1 [ \f2\-R\f1 | \f2\-D\f1 ] [ \f2value\f1 ] +Display and/or modify the preferred extent size used when allocating +space for the currently open file. +If the \f2-R\f1 option is specified, a recursive descent is performed +for all directory entries below the currently open file (\f2-D\f1 can +be used to restrict the output to directories only). +If the target file is a directory, then the inherited extent size +is set for that directory (new files created in that directory +inherit that extent size). +The \f2value\f1 should be specified in bytes, or using one of the +usual units suffixes (k, m, g, b, etc). +The extent size is always reported in units of bytes. +.TP \f3allocsp\f1 \f2offset\f1 \f2length\f1 Allocates zeroed space for part of a file using the XFS_IOC_ALLOCSP system call described in the \f2xfs\f1 manual page. -- 2.47.2