Query: subsys_system_register
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SUBSYS_SYSTEM_REGIST(9) Device drivers infrastructure SUBSYS_SYSTEM_REGIST(9)NAMEsubsys_system_register - register a subsystem at /sys/devices/system/SYNOPSISint subsys_system_register(struct bus_type * subsys, const struct attribute_group ** groups);ARGUMENTSsubsys system subsystem groups default attributes for the root deviceDESCRIPTIONAll 'system' subsystems have a /sys/devices/system/<name> root device with the name of the subsystem. The root device can carry subsystem- wide attributes. All registered devices are below this single root device and are named after the subsystem with a simple enumeration number appended. The registered devices are not explicitely named; only 'id' in the device needs to be set. Do not use this interface for anything new, it exists for compatibility with bad ideas only. New subsystems should use plain subsystems; and add the subsystem-wide attributes should be added to the subsystem directory itself and not some create fake root-device placed in /sys/devices/system/<name>.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SUBSYS_SYSTEM_REGIST(9)
Related Man Pages |
---|
device_create_with_groups(9) - centos |
lssubsys(1) - debian |
cfg_subsys_list(3) - osf1 |
sys_attrs_cam_tape(5) - osf1 |
dxkerneltuner(8) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Best performance UNIX just for HOST Virtualization? |
Tar Command |
CentOS 6 ran out of space, need to reclaim it |
Please Welcome Dave Munro to the Moderator Team! |