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

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

 



Hello Kai,

On 5 June 2016 at 13:11, Kai Makisara <Kai.Makisara@xxxxxxxxxxx> 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.

It would be good to also include some info in this patch about how you
determined this information, source code references, etc. Could you
add that please?

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
> --
> 2.6.6



-- 
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