Re: UART question

Vincent DEFERT <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Just tried it and no luck, it recreates the same zoo as before.

Anyway, I would really like to learn the rules of the device game.
And if possible, the reasons behind them.

On 08/07/2025 11:25, [email protected] wrote:
> 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).
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.