Home > Linux > Quizzes > Linux Basics Practice Test: Linux Sysfs
Linux Basics Practice Test: Linux Sysfs
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 60% Most missed: “Which one of the following directory contains every physical device that has bee…”
Sysfs is a pseudo file system in the Linux kernel that provides information about kernel subsystems, hardware devices, and device drivers to user space through virtual files. It is a RAM-based filesystem that exports kernel data structures and their attributes, creating a directory for each kobject registered with the system. The directory is created as a subdirectory of the kobject's parent.  The files and directories in sysfs provide a view of the kobject structures defined internally within the kernel. These files provide information about: Devices, Kernel modules, Filesystems, and Other... Show more
Linux Basics Practice Test: Linux Sysfs
Time left 00:00
25 Questions

1. The file fs/sysfs/sysfs.h contains the
2. In linux sysfs is always mounted at
3. The directories in the /sys directory represents
4. Which one of the following function is used to add the kobject to sysfs?
5. Each driver in the device driver model is described by a ______ object.
6. Which one of the following is a element of a kset data structure?
7. Which one of the following is a read-write semaphore in linux that protects all ksets and kobjects included in the filesystem?
8. Sysfs is initialised in ______ file via sysfs_init function.
9. The directories of /sys directory
10. The kset contains
11. Which one of the following is not true?
12. In sysfs every subsystem has
13. What is the main role of the regular files in the sysfs?
14. Sysfs was originally called
15. Each device in the device driver model is represented by a _____ object.
16. In device driver model bus_type object contains the
17. Which one of the following is not contained in the kobject data structure?
18. Which one of the following is a notification to user space from the kernel that something has changed in the system’s configuration?
19. Relationship between components of device driver models are expressed in the sysfs as
20. The channel between the processor and devices is called?
21. Kernel objects are exported as _____ via sysfs.
22. A ____ is a higher level view of a device that abstracts out low level implementation details/
23. In sysfs the device drivers of same _____ are expected to provide same functionalities to the user mode application.
24. Which one of the following is not true?
25. In sysfs, each represented bus type has two directories named as