GCFA · Question #97
Which of the following file systems contains hardware settings of a Linux computer?
The correct answer is C. /proc. The /proc directory is a virtual filesystem in Linux that exposes kernel and hardware information at runtime, not stored on disk.
Question
Which of the following file systems contains hardware settings of a Linux computer?
Options
- A/var
- B/etc
- C/proc
- D/home
How the community answered
(46 responses)- A11% (5)
- B2% (1)
- C83% (38)
- D4% (2)
Why each option
The /proc directory is a virtual filesystem in Linux that exposes kernel and hardware information at runtime, not stored on disk.
/var is used for variable data such as logs, spool files, and temporary files - not hardware settings.
/etc stores system-wide configuration files for software and services, not hardware information exposed by the kernel.
The /proc filesystem is a pseudo-filesystem that the Linux kernel dynamically populates with information about hardware, running processes, and system state. Files like /proc/cpuinfo, /proc/meminfo, and /proc/devices expose hardware settings and resource details. It is the authoritative in-memory interface for querying hardware configuration on a running Linux system.
/home contains user home directories and personal files, with no relation to hardware settings.
Concept tested: Linux /proc virtual filesystem hardware exposure
Source: https://www.kernel.org/doc/html/latest/filesystems/proc.html
Topics
Community Discussion
No community discussion yet for this question.