xfs
[Top] [All Lists]

Re: [PATCH] xfsprogs: document fpunch command in xfs_io

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: Re: [PATCH] xfsprogs: document fpunch command in xfs_io
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Fri, 11 Jan 2013 21:13:28 -0600
In-reply-to: <50C39123.6050303@xxxxxxxxxxx>
References: <50C39123.6050303@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
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
> 

<Prev in Thread] Current Thread [Next in Thread>