nerdexam
CompTIA

LX0-103 · Question #59

What is the purpose of the Filesystem Hierarchy Standard?

The correct answer is D. It is a distribution neutral description of locations of files and directories.. The Filesystem Hierarchy Standard (FHS) is a reference document that defines standard directory locations and their intended contents for Linux and Unix-like operating systems in a distribution-neutral way.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

What is the purpose of the Filesystem Hierarchy Standard?

Options

  • AIt is a security model used to ensure files are organized according to their permissions and
  • BIt provides unified tools to create, maintain and manage multiple filesystems in a common way.
  • CIt defines a common internal structure of inodes for all compliant filesystems.
  • DIt is a distribution neutral description of locations of files and directories.

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    2% (1)
  • D
    89% (42)

Why each option

The Filesystem Hierarchy Standard (FHS) is a reference document that defines standard directory locations and their intended contents for Linux and Unix-like operating systems in a distribution-neutral way.

AIt is a security model used to ensure files are organized according to their permissions and

The FHS is not a security model; Linux security models are handled by mechanisms such as DAC permissions, SELinux, or AppArmor.

BIt provides unified tools to create, maintain and manage multiple filesystems in a common way.

The FHS does not provide tools for creating or managing filesystems; utilities like mkfs, fsck, and mount serve that purpose.

CIt defines a common internal structure of inodes for all compliant filesystems.

The FHS does not define the internal inode structure of filesystems; inode format is determined by each filesystem's own specification (e.g., ext4, XFS).

DIt is a distribution neutral description of locations of files and directories.Correct

The FHS specifies where specific types of files should reside - for example, user binaries in /usr/bin, configuration in /etc, variable data in /var - so that software, administrators, and users have a predictable, consistent layout regardless of which Linux distribution is in use. It is maintained by the Linux Foundation and describes directory purposes and contents, not security models or filesystem internals.

Concept tested: Purpose and scope of the Filesystem Hierarchy Standard

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

Topics

#FHS#filesystem hierarchy#directory structure#standards

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice