[OpenWrt-Devel] [PATCH 2/2] arc770: move arc patches to taregt/linux/generic

Felix Fietkau nbd at openwrt.org
Sat Jan 16 09:12:49 EST 2016


On 2016-01-16 12:00, Peter Korsgaard wrote:
>  >> We changed to devtmpfs by default in Buildroot quite some time ago, and
>  >> I'm pretty happy with it.
>  > We need to have dynamically created device nodes anyway - for managing
>  > permissions, being able to change names, etc. Because of that, devtmpfs
>  > is not enough to provide a full /dev. Since it's not enough, and
>  > creating the initial device nodes from our custom init is easy, we see
>  > little value in keeping it. So we got rid of the extra bloat :)
> 
> Heh, "bloat":
> 
> arm-none-eabi-size drivers/base/devtmpfs.o
>    text    data     bss     dec     hex filename
>    1568      64       4    1636     664 drivers/base/devtmpfs.o
> 
> Compared to the extra inodes and/or the busybox mknod applet + script,
> it isn't too bad.
I know it's not much, but we do like to disable anything that's
completely useless for our purposes. :)
Our code doesn't use busybox mknod. The stuff that creates the device
nodes is written in C.

> In Buildroot we support pure devtmpfs, mdev or udev (both with devtmpfs)
> or static /dev for legacy setups.
Yeah, for Buildroot devtmpfs makes sense. We don't use or support mdev,
udev or static /dev. We also got rid of hotplug2 a while back ;)

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list