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

DigitalOcean Referral Badge

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

DigitalOcean Referral Badge

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

DigitalOcean Referral Badge

Linux Sysfs Questions & Answers – 5 Download Pdf

Recent Posts