Common linux filesystems and sizes Flashcards
(13 cards)
What does the root directory (/) contain?
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.
What is located in the /boot directory?
Contains the Linux kernel and boot-related files.
Typically 1 GB.
What is the purpose of the /home directory?
Default location for user home directories.
Typically 500 MB per user.
What does the /usr directory contain?
System commands and utilities.
Depends on the packages installed—typically 30 GB or more.
What is the /usr/local directory used for?
Location for most additional programs.
Depends on the packages installed—typically 30 GB or more.
What is the purpose of the /opt directory?
An alternate location for additional programs.
Depends on the packages installed—typically 30 GB or more.
What does the /var directory contain?
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.
What is the /tmp directory used for?
Holds temporary files created by programs.
Typically 1 GB.
What happens if you don’t create a swap partition during Linux installation, and how is virtual memory typically handled on modern systems?
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.
What three partations are NEEDED for linux?
/ AND /swap AND /boot
If you have a UEFI BIOS on MB where will linux mount the partition?
/boot/efi
what the the requiured amount of user accounts and what are they?
Two | root, User
True or False By default, a root user is created during the installation process but not assigned a valid password.
True