Re: tar does not support partial reads

2021-07-20 Thread Greg Kurz
On Tue, 20 Jul 2021 13:26:50 +0200 Christian Schoenebeck wrote: > On Dienstag, 20. Juli 2021 08:27:45 CEST Petr Pisar wrote: > > V Mon, Jul 19, 2021 at 03:39:53PM -0500, Paul Eggert napsal(a): > > > On 7/19/21 7:54 AM, Christian Schoenebeck wrote: > > > > POSIX compliant applications must always

Re: tar does not support partial reads

2021-07-20 Thread Christian Schoenebeck
On Dienstag, 20. Juli 2021 08:27:45 CEST Petr Pisar wrote: > V Mon, Jul 19, 2021 at 03:39:53PM -0500, Paul Eggert napsal(a): > > On 7/19/21 7:54 AM, Christian Schoenebeck wrote: > > > POSIX compliant applications must always expect that read() / > > > write() functions might read/write less bytes t

Re: tar does not support partial reads

2021-07-19 Thread Petr Pisar
V Mon, Jul 19, 2021 at 03:39:53PM -0500, Paul Eggert napsal(a): > On 7/19/21 7:54 AM, Christian Schoenebeck wrote: > > POSIX compliant applications must always expect that read() / > > write() functions might read/write less bytes than requested > > Although that's true in general, it's not true f

Re: tar does not support partial reads

2021-07-19 Thread Paul Eggert
On 7/19/21 7:54 AM, Christian Schoenebeck wrote: POSIX compliant applications must always expect that read() / write() functions might read/write less bytes than requested Although that's true in general, it's not true for regular files. The POSIX spec for 'read'