Linux Sysfs Questions & Answers – 5

1.

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 these

Answer: Option 'D'

none of these

2.

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 these

Answer: Option 'A'

struct sysfs_dirent

3.

The name pointer of the attribute data structure represents the _____ in sysfs.

   A.) directory
   B.) file
   C.) symbolic link
   D.) none of these

Answer: Option 'B'

file


Linux Sysfs Questions & Answers – 5 Download Pdf

Recent Posts