On Tue, Jul 08, 2025 at 07:46:25AM +0000, Vincent DEFERT wrote:
Ok, so NetBSD:
- creates tons of nodes for devices that are NOT physically present in the
machine (i.e. most of /dev)
- does NOT create nodes for devices that are physically present (e.g. UART)
- though sometimes, it does, for some reason (e.g. I2C)
I'm lost. I can't find any rationale behind those behaviours. :(
Could someone explain, please?
Normally, if you copy /dev/MAKEDEV in /etc, remove all the leaves in
/dev (but keeping /dev that will be used as a mount point), when
booting, /dev is dynamically populated with the nodes corresponding to
the devices found (according to your compiled kernel i.e. to the
devices declared in the kernel config).