[PATCH v2] mdev: create devices from /sys/dev

Linus Walleij linus.walleij at linaro.org
Tue Apr 26 10:49:43 UTC 2016


On Mon, Apr 18, 2016 at 11:31 AM, Linus Walleij
<linus.walleij at linaro.org> wrote:
> On Wed, Apr 13, 2016 at 2:37 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
>
> (...)
>> This switches from using /sys/class as the place to look for
>> devices to create to using /sys/dev where all char and block
>> devices are listed.
> (...)
>> ChangeLog v1->v2:
>> - Restore the subsystem environment setting behaviour by
>>   following the subsystem symlink like decribed in the
>>   commit message. This may be needed by mdev scripts.
>> - Kill of /sys/block device scanning
>> - Do not fall back to /sys/class device scanning, just scan
>>   /sys/dev
>
> Thoughts about the v2 patch?
>
> - Yes?
> - No?
> - Linus is an idiot?

No comments on this for two weeks?

I understand that it's a scary change but it needs to
happen. IIO and GPIO are not working, probably others
too.

Also the patch was shown to save bytes.

Yours,
Linus Walleij


More information about the busybox mailing list