⟩ Which function can be used instead of the dup2 to duplicate the file descriptor? a) read() b) open() c) stat() d) fcntl()
d) fcntl()
d) fcntl()
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
Sysfs attribute should export ____ value per file. a) one b) two c) three d) four
Sysfs was originally called a) device driver filesystem b) kernel interface filesystem c) kernel filesystem d) none of the mentioned
Sysfs can be considered as the reflection of the a) kernel's device model b) user's device model c) network's device model d) none of the mentioned
The files of sysfs contains the information about a) devices and drivers b) memory mapping c) ports d) none of the mentioned
Which one of the following is not true? a) any file of the sysfs can not be edited b) some files of the sysfs are writable for configuration of devices c) both (a) and (b) d) none of the mentioned