nerdexam
GIAC

GCFA · Question #44

Which of the following directories cannot be placed out of the root filesystem? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. /sbin B. /etc D. /lib. The Filesystem Hierarchy Standard requires /sbin, /etc, and /lib to remain on the root filesystem because they are needed during early boot before additional filesystems are mounted; /var may be placed on a separate partition.

Advanced Mac & Linux Forensics

Question

Which of the following directories cannot be placed out of the root filesystem? Each correct answer represents a complete solution. Choose all that apply.

Options

  • A/sbin
  • B/etc
  • C/var
  • D/lib

How the community answered

(43 responses)
  • A
    74% (32)
  • C
    26% (11)

Why each option

The Filesystem Hierarchy Standard requires /sbin, /etc, and /lib to remain on the root filesystem because they are needed during early boot before additional filesystems are mounted; /var may be placed on a separate partition.

A/sbinCorrect

/sbin must reside on the root filesystem because it contains essential system administration binaries such as init, fsck, and mount that are required before any other filesystem can be attached.

B/etcCorrect

/etc must reside on the root filesystem because it holds critical configuration files, including /etc/fstab and init configuration, that are read during the earliest stages of system startup.

C/var

/var is explicitly permitted by the FHS to reside on a separate filesystem because it stores variable runtime data such as logs, spools, and temporary files that are not accessed until the system has completed its boot process.

D/libCorrect

/lib must reside on the root filesystem because it provides the shared libraries and kernel modules required by the binaries in /bin and /sbin to function during the boot sequence.

Concept tested: Linux FHS root filesystem required directories

Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03.html

Topics

#Linux filesystem#root filesystem#/sbin#/etc

Community Discussion

No community discussion yet for this question.

Full GCFA Practice