/dev mounted twice
This is only a minor annoyance, but /dev is mounted twice:
# mount | grep " on /dev "
devtmpfs on /dev type devtmpfs (rw,relatime,size=1033476k,nr_inodes=189059,mode=755)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
I believe the first (type devtmpfs) mount is coming from the kernel config option CONFIG_KERNEL_DEVTMPFS_MOUNT=y, while the second (type tmpfs) mount is coming from patches/openwrt/to-upstream/0022-procd-New-style-of-cgroups.patch:
+++ b/package/system/procd/patches/new-style-of-cgroup-hiearchy.patch
++++ b/initd/early.c
+ mount("tmpfs", "/dev", "tmpfs", MS_NOATIME | MS_NOSUID, "mode=0755,size=512K");
I believe that second mount (type tmpfs in early_mounts() from that patch) is redundant & should be removed (or made conditional on a check if /dev is already mounted, if we can't rely on CONFIG_KERNEL_DEVTMPFS_MOUNT=y always being set).
Thanks, Conway S. Smith