Re: UART question

<[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
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).
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.