Chap5 FHS Flashcards Preview

LFS201 > Chap5 FHS > Flashcards

Flashcards in Chap5 FHS Deck (18):
1

/bin
Examples?

Binaries and other executables programs. Text files are compiled into machine readable binary files. IE. cat, echo, mkdir, pwd

2

/etc
Examples?

System configuration files. How the operating system behaves. IE. group, fstab, resolv.conf

3

/usr

Multi-user related applications, libraries, and docs

4

/boot

Contains the 2 files required to boot Linux
1. initramfs - The initial RAM Filesystem, which is mounted before the real root filesystem becomes available. (initrd.img-4.4.0-34-generic)
2. vmlinuz (kernal) - vmlinuz-4.4.0-34-generic (ends in z then is compressed)

5

/dev

- Device nodes which represent devices built into or connected to the system. This includes character (byte-stream) and block I/O devices.
- upon boot a virtual filesystem is created and mounted at /dev and then populated with device nodes as udev requires.

6

/lib
Examples?

Libraries required by executable binaries in /bin and /sbin. IE.
Kernel Modules /lib/modules
PAM (Plugable Authentication Modules) /lib/security

7

/proc

Provides info about running processes. Empty on a non-running system. Also termed virtual files

8

/sbin
Examples?

System administration binaries IE. fdisk and init

9

/sys

- sysfs pseudo-filesystem giving information about the system and processes running on it.
- Can be used to alter parameters.
- similar to a device tree and is part of the Unified Device Model

10

Additional 2 files in the /boot directory

config The config file used when compiling the kernel, it is really here just for bookkeeping and reference when debugging.
System.map The kernel symbol table, which is very useful for debugging. It gives the hexadecimal addresses of all kernel symbols

11

/usr/bin

Command binaries that are deemed non-essential enough to merit a place in /bin go in /usr/bin. Programs required only by non-root users
are placed in this category

12

/etc/init.d

Contains start up and shut down scripts when using System V initialization

13

Shareable

data which can be shared between different hosts (home directories)

14

non-shareable

data which must be specific to a particular host (lock files)

15

Variable

data that may change even without a systems administrators help

16

static

data that does not change without system admistrators assistance (binaries, libraries, documentation)

17

FHS

The Filesystem Hierarchy Standard, administered originally by the Free Standards Group and now by the Linux Foundation,

18

/var

Variable data that changes during system operation