subsys_system_register man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

SUBSYS_SYSTEM_REGIST(9)	 Device drivers infrastructure SUBSYS_SYSTEM_REGIST(9)

NAME
       subsys_system_register - register a subsystem at /sys/devices/system/

SYNOPSIS
       int subsys_system_register(struct bus_type * subsys,
				  const struct attribute_group ** groups);

ARGUMENTS
       subsys
	   system subsystem

       groups
	   default attributes for the root device

DESCRIPTION
       All '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>.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       SUBSYS_SYSTEM_REGIST(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net