what is the precise udev event that handles miscdevices?

Sudip Mukherjee sudipm.mukherjee at gmail.com
Wed Apr 1 08:19:36 EDT 2015


>
>   don't get smug. :-) i had sort of concluded there was no actual udev
> rule i could point at, so it's just the case that udev processes those
> events internally? is this written down anywhere? everyone happily
> explains how misc devices get their /dev file automatically, but no
> one i've seen goes that extra step to explain how that happens.

misc_register() is ultimately calling device_add() which is again
calling device_create_file() , and this one is actually creating the
node in  /dev . (if i am not wrong).

regards
sudip



More information about the Kernelnewbies mailing list