Design Hard Disk Layout (2) Flashcards

Objective 2.1 Weight 2

1
Q

Which of the follow commands allow you to see your system’s memory information?

  1. top
  2. free
  3. lsblk -f
  4. swap
  5. cat /sys/block
  6. cat /proc/meminfo
A
  1. top
  2. free
  3. lsblk -f
  4. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following statements are true concerning sysfs?

  1. It is used by lsdev
  2. Its files are accessible via /sys/
  3. It is a pseudo-filesystem
  4. It is mounted in RAM
  5. It is mounted at /proc
  6. It is used by lsblk
A
  1. Its files are accessible via /sys/
  2. It is a pseudo-filesystem
  3. It is mounted in RAM
  4. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the follow information is always displayed for a PCI connected device, when you use the lspci command?

  1. slot
  2. class
  3. vendor
  4. device
  5. revision
  6. programming interface
A
  1. slot
  2. class
  3. vendor
  4. 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the follow mount points are considered to be required as the bare minimum?

  1. /
  2. /boot
  3. swap
  4. /bin
  5. /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.
A
  1. / 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly