can you give a hint what kernel version is problematic ? ________________________________________ Von: busybox <[email protected]> im Auftrag von Grant Edwards <[email protected]> Gesendet: Mittwoch, 20. Januar 2021 15:43:38 An: [email protected] Betreff: Re: Why doesn't "cat a b > foo" work?
On 2021-01-20, Christophe Leroy <[email protected]> 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 [email protected] http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
