On 12/8/12 1:12 PM, Eric Sandeen wrote:
> Add manpage documentation for the new fpunch command in xfs_io.
>
> Also fix references to the fallocate manpage, which is (now?)
> in section 2, not section 3 of the man pages. (Since it's
> a syscall, not a library function).
Ping on these patches? Pretty much just doc changes.
-Eric
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
> ---
>
> diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8
> index f7c6935..9b9ece8 100644
> --- a/man/man8/xfs_io.8
> +++ b/man/man8/xfs_io.8
> @@ -355,17 +355,23 @@ manual page.
> .BI "falloc [ \-k ]" " offset length"
> Allocates reserved, unwritten space for part of a file using the
> fallocate routine as described in the
> -.BR fallocate (3)
> +.BR fallocate (2)
> manual page.
> .RS 1.0i
> .PD 0
> .TP 0.4i
> .B \-k
> will set the FALLOC_FL_KEEP_SIZE flag as described in
> -.BR fallocate (3).
> +.BR fallocate (2).
> .PD
> .RE
> .TP
> +.BI fpunch " offset length"
> +Punches (de-allocates) blocks in the file by calling fallocate with
> +the FALLOC_FL_PUNCH_HOLE flag as described in the
> +.BR fallocate (2)
> +manual page.
> +.TP
> .BI truncate " offset"
> Truncates the current file at the given offset using
> .BR ftruncate (2).
>
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
>
|