what is the precise udev event that handles miscdevices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i can trivially create misc character devices, and i know special
device files for them will automatically show up under /dev, but what
is the precise udev event/rule that comes into play for this?

  if i start to monitor udevadm with:

$ udevadm monitor --kernel --udev --property

and insert my misc char module, i see:

KERNEL[5342.740294] add      /module/mymisc (module)
ACTION=add
DEVPATH=/module/mymisc
SEQNUM=3007
SUBSYSTEM=module

KERNEL[5342.740528] add      /devices/virtual/misc/mymisc (misc)
ACTION=add
DEVNAME=/dev/mymisc
DEVPATH=/devices/virtual/misc/mymisc
MAJOR=10
MINOR=55
SEQNUM=3008
SUBSYSTEM=misc

UDEV  [5342.741071] add      /module/mymisc (module)
ACTION=add
DEVPATH=/module/mymisc
SEQNUM=3007
SUBSYSTEM=module
USEC_INITIALIZED=740419

UDEV  [5342.741921] add      /devices/virtual/misc/mymisc (misc)
ACTION=add
DEVNAME=/dev/mymisc
DEVPATH=/devices/virtual/misc/mymisc
MAJOR=10
MINOR=55
SEQNUM=3008
SUBSYSTEM=misc
USEC_INITIALIZED=740750

so, yes, i can see the line "DEVNAME=/dev/mymisc", but is there
something i can point at in the collection of udev rules that deals
with that? or is that simply done internally?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux