Query: subsys_virtual_register
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SUBSYS_VIRTUAL_REGIS(9) Device drivers infrastructure SUBSYS_VIRTUAL_REGIS(9)NAMEsubsys_virtual_register - register a subsystem at /sys/devices/virtual/SYNOPSISint subsys_virtual_register(struct bus_type * subsys, const struct attribute_group ** groups);ARGUMENTSsubsys virtual subsystem groups default attributes for the root deviceDESCRIPTIONAll 'virtual' subsystems have a /sys/devices/system/<name> root device with the name of the subystem. The root device can carry subsystem-wide attributes. All registered devices are below this single root device. There's no restriction on device naming. This is for kernel software constructs which need sysfs interface.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SUBSYS_VIRTUAL_REGIS(9)