subsys_virtual_register(9) centos man page | unix.com

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)

NAME
subsys_virtual_register - register a subsystem at /sys/devices/virtual/
SYNOPSIS
int subsys_virtual_register(struct bus_type * subsys, const struct attribute_group ** groups);
ARGUMENTS
subsys virtual subsystem groups default attributes for the root device
DESCRIPTION
All '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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SUBSYS_VIRTUAL_REGIS(9)
Related Man Pages
device_create(9) - centos
device_create_with_groups(9) - centos
device_rename(9) - centos
device_create_vargs(9) - suse
dxkerneltuner(8) - osf1
Similar Topics in the Unix Linux Community
Docker learning Phase-I
CentOS 6 ran out of space, need to reclaim it
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!