Why doesn't "cat a b > foo" work?
Grant Edwards
grant.b.edwards at gmail.com
Wed Jan 20 14:43:38 UTC 2021
On 2021-01-20, Christophe Leroy <christophe.leroy at csgroup.eu> wrote:
>
>> I discovered and fixed the same thing 4 years ago by disabling use of
>> sendfile() when building 1.26.
>
> Do you mean there is a bug somewhere and you just fix it for yourself?
There is a bug in older Linux kernels where multiple calls to sendfile()
don't work as expected. My solution is to configure busybox to not use sendfile()
by unsetting the CONFIG_FEATURE_USE_SENDFILE config variable in busybox.config
> What about fixing it for everyone?
I can't.
> Where you able to identify whether it is a kernel bug or not?
Yes, it is a kernel bug in older versions of the Linux kernel.
--
Grant
More information about the busybox
mailing list