⟩ Switch table is used by a) device special file b) directory file c) fifo d) link file.
a) device special file
a) device special file
The file fs/sysfs/sysfs.h contains the a) internal header files for sysfs b) function definitions shared locally among the sysfs source c) both (a) and (b) d) none of the mentioned
In sysfs.h which one of the following structure represents the directory entries? a) struct sysfs_dirent b) struct sysfs_dir c) struct sysfs d) none of the mentioned
Which one of the following is not true? a) kobjects are included in a hierarchic organisation b) kobjects can have a parent c) kobjects can be included in a kset d) none of the mentioned
The name pointer of the attribute data structure represents the _____ in sysfs. a) directory b) file c) symbolic link d) none of the mentioned
To read/write attribute, which one of the following method is required? a) show b) store c) both (a) and (b) d) none of the mentioned
Which one of the following is not contained in the kobject data structure? a) pointer to the kobject type descriptor b) pointer to the containing kset c) pointer to the parent kobject d) none of the mentioned
The kobjects can be organized in a hierarchical tree by means of a) ksets b) kref c) ktype d) none of the mentioned
Which one of the following is a element of a kset data structure? a) pointer to the subsystem descriptor b) pointer to the kobject type descriptor of the kset c) both (a) and (b) d) none of the mentioned
Which one of the following function is used to add the kobject to sysfs? a) kobject_add() b) kobject_register() c) kobject_init() d) all of the mentioned
Which one of the following function is used to create a new attribute? a) sysfs_create_file() b) sysfs_attribute c) both (a) and (b) d) none of the mentioned