Device directories
![]()
Each device that is known to Linux® is represented by a directory in sysfs.
For CCW and CCW group devices the name of the directory is a bus ID that identifies the device within the scope of a
Linux instance. For a CCW device, the bus ID is the
device's device number with a leading 0.<n>.
, where
<n> is the subchannel set ID. For example,
0.1.0ab1.
CCW group devices are associated with multiple device numbers. For CCW group devices, the bus ID
is the primary device number with a leading 0.<n>.
, where
<n> is the subchannel set ID.
Device views in sysfs tells you where you can find the device
directories with their attributes in sysfs. Red Hat® Enterprise Linux
9.2
uses configuration files to control devices. For example, network devices have interface scripts
called
/etc/sysconfig/network-scripts/ifcfg-<interface-name>.
See the Configuring and managing networking in Red Hat Enterprise Linux
9.2 (https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/index) for details about
configuration files.