AW: Why doesn't "cat a b > foo" work?

Walter Harms wharms at bfs.de
Wed Jan 20 15:38:38 UTC 2021


can you give a hint what kernel version is problematic ?
________________________________________
Von: busybox <busybox-bounces at busybox.net> im Auftrag von Grant Edwards <grant.b.edwards at gmail.com>
Gesendet: Mittwoch, 20. Januar 2021 15:43:38
An: busybox at busybox.net
Betreff: Re: Why doesn't "cat a b > foo" work?

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



_______________________________________________
busybox mailing list
busybox at busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list