Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: UART question
vincent.defert%posteo.net@localhost (Vincent DEFERT) writes:
>The benefit of having only present devices under /dev is just immense!
With a regular static /dev directory, it hardly matters if there are
entries that aren't used.
There is a way around this.
If at boot time /dev/console doesn't exist, then the init process
will run the MAKEDEV script to mount a RAM disk on top of
/dev and create device nodes. A custom MAKEDEV could be used to
only create a minimal set and devpubd could be used to create
the rest on demand.
You would still created "unused" device nodes as a driver often
requires several entries (like the partition entries for disks).
That's not possible to handle "on demand" because devpubd will
only see when device units are created or destroyed, not if e.g.
a disk gets repartitioned.
Home |
Main Index |
Thread Index |
Old Index