[OE-core] [RFC] Busybox: do not enable ENABLE_FEATURE_NON_POSIX_CP

Andrea Adami andrea.adami at gmail.com
Wed Jul 16 10:02:47 UTC 2014


On Wed, Jul 16, 2014 at 11:35 AM, Andrea Adami <andrea.adami at gmail.com> wrote:
> Hi,
>
> I was hit by a strange issue while benchmarking: I was copying some
> large files to /dev/null and that was failing.
> In fact, busybox cp foo /dev/null (and even cat foo > /dev/null) are
> transforming the target in a regular file, with increasing size.At the
> end devtmpfs was full...
>
> After som eresearch I discovered that strange Busybox configuration option
> ENABLE_FEATURE_NON_POSIX_CP.
>
> Guess what? It is ENABLED in oe-core!
>
> http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/busybox/busybox/defconfig#n113
>
> Now, do we really want it enabled by default?
>
> Cheers
>
> Andrea
>
> P.S. I agree with  https://forum.openwrt.org/viewtopic.php?id=27235
> ""...ill-conceived feature""


I add the WONTIFX bug:
 http://lists.busybox.net/pipermail/busybox-cvs/2011-February/032161.html

It seems that cat should not have adverse effects, probably I tried
cat once /dev/null was already b0rked (unlinked) by the non-posix cp.

Regards

Andrea



More information about the Openembedded-core mailing list