Common linux filesystems and sizes Flashcards

(13 cards)

1
Q

What does the root directory (/) contain?

A

Contains all directories not present on other filesystems.

Depends on the size and number of other filesystems present, but is typically 20 GB or more.

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

What is located in the /boot directory?

A

Contains the Linux kernel and boot-related files.

Typically 1 GB.

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

What is the purpose of the /home directory?

A

Default location for user home directories.

Typically 500 MB per user.

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

What does the /usr directory contain?

A

System commands and utilities.

Depends on the packages installed—typically 30 GB or more.

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

What is the /usr/local directory used for?

A

Location for most additional programs.

Depends on the packages installed—typically 30 GB or more.

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

What is the purpose of the /opt directory?

A

An alternate location for additional programs.

Depends on the packages installed—typically 30 GB or more.

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

What does the /var directory contain?

A

Contains log files and spools.

Depends on whether the Linux system is used as a print server (which contains a large spool). For print servers, 30 GB or more is typical. For other systems, 5 GB or more is usually sufficient.

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

What is the /tmp directory used for?

A

Holds temporary files created by programs.

Typically 1 GB.

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

What happens if you don’t create a swap partition during Linux installation, and how is virtual memory typically handled on modern systems?

A

If no swap partition is created, most Linux distributions will either create a swap file or use zswap, a compressed area of RAM for virtual memory. On modern systems, zswap often provides better performance than a traditional swap partition or file.

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

What three partations are NEEDED for linux?

A

/ AND /swap AND /boot

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

If you have a UEFI BIOS on MB where will linux mount the partition?

A

/boot/efi

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

what the the requiured amount of user accounts and what are they?

A

Two | root, User

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

True or False By default, a root user is created during the installation process but not assigned a valid password.

A

True

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