[Toybox] /sys/block going away?
enh
enh at google.com
Wed Apr 12 10:51:58 PDT 2023
i didn't really understand
https://www.phoronix.com/news/Linux-6.4-Drop-Old-Sysfs-Layout or
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?h=driver-core-next&id=721da5cee9d43901105f5b8bd33fcb9101b12fc3,
but i do see that toybox has a couple of references to /sys/block...
the one in external/toybox/toys/other/nbd_client.c seems like it could
trivially change to /sys/class/block,
but external/toybox/toys/pending/mdev.c says
```
// Entries in /sys/class/block aren't char devices, so skip 'em. (We'll
// get block devices out of /sys/block.)
if(!strcmp(node->name, "block")) return 0;
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230412/5be0116b/attachment.htm>
More information about the Toybox
mailing list