Topic 102: Linux Installation and Package Management Flashcards

1
Q

What is the root (“/”) filesystem?

A

The root filesystem is the top-level directory of the filesystem. It must contain all of the files required to boot the Linux system before other filesystems are mounted. It must include all of the required executables and libraries required to boot the remaining filesystems. After the system is booted, all other filesystems are mounted on standard, well-defined mount points as subdirectories of the root filesystem.

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

What is the role of the /var filesystem? What does “var”stand for?

A

Variable data files are stored here. This can include things like log files, database files, web server data files, email inboxes, and much more.

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

What’s the purpose of the /home filesystem?

A

Provides home directory storage for user files. Each user has a subdirectory in /home.

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

What’s the purpose of the /boot filesystem?

A

Contains the static bootloader, kernel executable, and configuration files required to boot the Linux OS.

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

What is swap space?

A

Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM.

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

What is an EFI System Partition (ESP)?

A

The EFI (Extensible Firmware Interface) system partition, or ESP, is a partition on a data storage device (usually a hard disk drive or solid-state drive) that is used by computers adhering to the Unified Extensible Firmware Interface (UEFI). When a computer is booted, UEFI firmware loads files stored on the ESP to start installed operating systems and various utilities.

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

What is a mount point?

A

A mount point is a directory (typically an empty one) in the currently accessible filesystem on which an additional filesystem is mounted (i.e., logically attached).

The mount point becomes the root directory of the newly added filesystem, and that filesystem becomes accessible from that directory. Any original contents of that directory become invisible and inaccessible until the filesystem is unmounted (i.e., detached from the main filesystem).

The default mount points for a system are the directories in which filesystems will be automatically mounted unless told by the user to do otherwise. They are listed in /etc/fstab, which is a plain text configuration file that contains information about the major filesystems on a computer. The first column in /etc/fstab shows the device (i.e., the partition or disk), and the second column shows its default mount point. The contents of /etc/fstab can easily, and safely, be viewed with a command such as cat as follows:

cat /etc/fstab

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