[Toybox] Patch queue...

Isaac Dunham ibid.ag at gmail.com
Sat May 24 20:16:08 PDT 2014


I've got a few old patches applied to my tree, so I'm going through
them. Not all are mine.

First, logname and whoami are variants of id: see 
lists.landley.net/pipermail/toybox-landley.net/2014-February/001571.html

I suppose that whoami as an alias for logname might be preferable if
someone didn't need a full id, though I haven't heard of such use cases.

Second, vconfig is still using strtorange instead of atolx_range:
lists.landley.net/pipermail/toybox-landley.net/2013-December/001475.html

I noticed that fdisk needs to call fflush(); I thought I sent the patch,
but it seems I only mentioned the bug in a mail that was not titled
relevantly:
lists.landley.net/pipermail/toybox-landley.net/2014-February/001572.html

I'll send the patch after this.

It's new, but I might as well mention the lspci patch I sent to fix text
output when using a new pci.ids:
lists.landley.net/pipermail/toybox-landley.net/2014-May/003421.html

Pending patches (should show up soon)
* [CLEANUP] remove some duplicates of headers now in toys.h

* lsusb: add basic text output based on the kernel recognition;
this is more of an RFC than a final patch

* fdisk: use fflush when writing prompt

* modify lspci to use readlinkat instead of malloc'ing an extra
8 bytes and calling strcat.
Style's probably wrong on this one, I'm afraid.
I did this because I was thinking about using modalias if there's no
driver.

* If you want it, there's a 7-line patch to add hotplug support to mdev;
no changes to the help yet.

Locally, I've made a few more changes that I'm not expecting to see
upstreamed; most involve eradicating utmp/utmpx, and then a couple toys
I've sent as "examples" that I occasionally use (hwrs,
resolve_modalias), plus an updated, stripped down version of Ashwini
Sharma's mount.

Finally, cpio was fun: I'm thinking I'd like to write ar (tar would be
another alternative, but ISTR Rob had said something about having a
start on the design, etc.)

Thanks,
Isaac Dunham

 1400987768.0


More information about the Toybox mailing list