Re: [patch 1/2 v2] st.4: Fix description of read when block larger than request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/06/2016 09:35 PM, Kai Makisara wrote:
> From: Kai Mäkisara <kai.makisara@xxxxxxxxxxx>
> 
> Fix the description of read in variable block mode if the next block is
> larger than the requested byte count: error is returned (as already
> documented with ENOMEM; better to complete the change later than never ?-)

Thanks, Kai. Applied.

Cheers,

Michael

> 
> Signed-off-by: Kai Mäkisara <kai.makisara@xxxxxxxxxxx>
> ---
>  man4/st.4 | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/man4/st.4 b/man4/st.4
> index f5eb3f7..5ac1ee2 100644
> --- a/man4/st.4
> +++ b/man4/st.4
> @@ -192,8 +192,7 @@ If the byte count is larger than the
>  next block on tape, the driver returns the data and the function
>  returns the actual block size.
>  If the block size is larger than the
> -byte count, the requested amount of data from the start of the block
> -is returned and the rest of the block is discarded.
> +byte count, error is returned.
>  .PP
>  In fixed-block mode the read byte counts can be arbitrary if
>  buffering is enabled, or a multiple of the tape block size if
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux