Design Hard Disk Layout (2) Flashcards
Objective 2.1 Weight 2
Which of the follow commands allow you to see your system’s memory information?
- top
- free
- lsblk -f
- swap
- cat /sys/block
- cat /proc/meminfo
- top
- free
- lsblk -f
- cat /proc/meminfo
The top, free, cat /proc/meminfo command all allow you to see your system’s memory information. The lsblk -f will show swap information, which is part of your system’s memory information as well.
Which of the following statements are true concerning sysfs?
- It is used by lsdev
- Its files are accessible via /sys/
- It is a pseudo-filesystem
- It is mounted in RAM
- It is mounted at /proc
- It is used by lsblk
- Its files are accessible via /sys/
- It is a pseudo-filesystem
- It is mounted in RAM
- It is used by lsblk
The sysfs pseudo-filesystem is mounted in RAM, but its files are accessible through the /sys/ directory, and information in it is used by the lsblk utility.
Which of the follow information is always displayed for a PCI connected device, when you use the lspci command?
- slot
- class
- vendor
- device
- revision
- programming interface
- slot
- class
- vendor
- device
The slot (PCI bus slot), class, vendor, and device information is always displayed for a PCI connected device, when you use the lsdev command. While revision and programming interface can be displayed, they are optional.
Which of the follow mount points are considered to be required as the bare minimum?
- /
- /boot
- swap
- /bin
- /sbin
Overall explanation
The fewest places where you should have filesystems mounted (mount points) on a Linux system is / (root) and /boot (boot), but typically you’ll see root, boot, and swap.
- / AND 2. /boot
The fewest places where you should have filesystems mounted (mount points) on a Linux system is / (root) and /boot (boot), but typically you’ll see root, boot, and swap.