Choose a topic to test your knowledge and improve your Unix/Lunux skills
The directories of /sys directory
The directory /sys/block contains
In sysfs, each represented bus type has two directories named as
A device class describes the ____ type of device.
Which one of the following directory contains every physical device that has been discovered by the bus types registered with the kernel?
Which type of devices are peripheral devices?
Which one of the following is not a system device?
Which one of the following is not a platform specific code?
In device driver model bus_type object contains the
The file fs/sysfs/sysfs.h contains the
Sysfs is initialised in ______ file via sysfs_init function.
Kernel objects are exported as _____ via sysfs.
Sysfs internally stores the pointer to the ____ that implements the directory in the file system.
Attributes can be exported for objects in the form of _______ in the file system.
In sysfs every subsystem has
sysfs is based on
Which one of the following is a notification to user space from the kernel that something has changed in the system’s configuration?
In the device driver model the device_driver object contains the
A ____ is a higher level view of a device that abstracts out low level implementation details/
When a device is removed from the system
Relationship between components of device driver models are expressed in the sysfs as
What is the main role of the regular files in the sysfs?
The core data structure of device driver model is
The kset contains
Which one of the following is a read-write semaphore in linux that protects all ksets and kobjects included in the filesystem?
Each device in the device driver model is represented by a _____ object.
Each driver in the device driver model is described by a ______ object.
The channel between the processor and devices is called?
In which directory every kernel module of the system is represented?
In sysfs the device drivers of same _____ are expected to provide same functionalities to the user mode application.
Which one of the following is not true?
In sysfs.h which one of the following structure represents the directory entries?
The name pointer of the attribute data structure represents the _____ in sysfs.
To read/write attribute, which one of the following method is required?
Which one of the following is not contained in the kobject data structure?
The kobjects can be organized in a hierarchical tree by means of
Which one of the following is a element of a kset data structure?
Which one of the following function is used to add the kobject to sysfs?
Which one of the following function is used to create a new attribute?
Sysfs attribute should export ____ value per file.
The major number identifies the _____ associated with the device.
The minor number range should be
Which one of the following is not true?
In linux kernel 2.4, we can have
In we use a driver for N number of files, then we have to create ____ device files.
If we use a driver for various device files, then
The connection between the device file and device driver is based on the
In linux kernel 2.1, the minor numbers were used to
The kernel identifies the driver with its
In linux, a device driver can work without the