mdev
really does is basically:Which is to say
mdev
or udev
:- Scans /sys/class/xxx, looking for d ...
I guess the bulk of what \\
mdev\\
really does is basically:https://github.com/brgl/busybox/blob/abbf17abccbf832365d9acf1c280369ba7d5f8b2/util-linux/mdev.c#L743-L778
Which is to say \\
mdev\\
or \\udev\\
:\\- Scans /sys/class/xxx, looking for directories which have dev file (it is of the form "M:m\\\\n")
\\- Uses the information in the \\
dev\\
file \\:\\
to create entries in \\/dev\\
of the ap ... ⌘ Read more