mdev -d can (silently) die with "read: no buffer space available"

Alexander Zangerl az+bb at snafu.priv.at
Sat Dec 14 23:08:53 UTC 2019


On Sun, 15 Dec 2019 08:44:14 +1000, Alexander Zangerl writes:
>i meant 'guarded by a stat() and inode comparison'.
>that shouldn't be too expensive i think. how about this? the patch works
>for any number of instances of mdev.log being created and removed later on,
>and costs one stat().

...but each new mdev.log creation causes another "[pid]" marker to be added
to applet_name. here's an amended patch without that wrinkle.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic_mdev_log
Type: text/x-diff
Size: 1561 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20191215/a6e65680/attachment.diff>
-------------- next part --------------


regards
az


-------------- next part --------------
-- 
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/
Die Freiheit besteht darin, da? man alles tun kann, 
was einem anderen nicht schadet. -- Arthur Schopenhauer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital Signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20191215/a6e65680/attachment.asc>


More information about the busybox mailing list