1/44
Comprehensive practice flashcards covering Linux filesystem administration, device management, partitioning (MBR and GPT), LVM, mounting, maintenance tools, and disk quota configurations.
A(n) __________ transfers data character-by-character to and from the device, whereas a(n) __________ transfers chunks or blocks of data using physical memory to buffer the transfer.
character device; block device
In a Linux device file, the __________ number points to the device's driver in the Linux kernel, while the __________ number indicates the specific device.
major; minor
Corrupted or missing device files can be manually re-created using the __________ command if the file type, major number, and minor number are known.
mknod
To view a list of devices currently in use by the system along with their assigned major numbers, you can inspect the contents of the __________ file.
/proc/devices
The special character device file __________ represents a bit bucket where any data sent to it is discarded.
/dev/null
The legacy PS/2 mouse port on a Linux system is referenced by the device file __________.
/dev/psaux
The first partition on the primary master PATA drive is named __________, whereas the first partition on the first SATA, SCSI, or SAS drive is named __________.
/dev/hda1; /dev/sda1
The device file representing the first partition in the first namespace on the first NVMe SSD is __________.
/dev/nvme0n1p1
All Linux filesystems share three common structural components: the __________, the __________, and data blocks.
superblock; inode table
The __________ filesystem is a modern Linux filesystem geared toward large-scale storage that includes native support for compression, subvolumes, snapshots, quotas, and multi-device spanning.
btrfs
The __________ filesystem is an improved version of FAT32 that supports large files and is commonly preformatted on USB flash drives because of its cross-platform support across Linux, macOS, and Windows.
exFAT
The __________ filesystem improved upon ext2 by adding journaling capability, whereas the __________ filesystem added larger filesystem capacity and performance enhancements.
ext3; ext4
The __________ filesystem was developed by Silicon Graphics for IRIX and is often selected on Linux systems requiring high-performance concurrent writes of large numbers of files.
xfs
The read-only filesystem commonly used on embedded Linux systems to host system files in a minimal footprint is __________.
squashfs
Associating a storage device with a directory in the logical directory tree is known as __________, and the directory to which it attaches is called the __________.
mounting; mount point
At system boot, the hard disk partition containing most operating system files is mounted to the / directory as the __________ filesystem.
root
The configuration file that defines filesystems to be automatically mounted at system startup is __________, while the file __________ records filesystems currently mounted.
/etc/fstab; /etc/mtab
In /etc/fstab, specifying the defaults option enables seven standard settings: rw, suid, dev, exec, auto, __________, and async.
nouser

In the /etc/fstab file shown, the sixth field contains the check order number used at boot time by the __________ command.
fsck
In the fifth field of /etc/fstab, an entry of 1 indicates that the filesystem should be backed up by the __________ command, while 0 means no backup is necessary.
dump
Before unmounting a filesystem, an administrator can identify which users or processes are actively accessing the mount point by running the __________ command.
fuser -u
To generate an ISO 9660 image file from a specified directory of files, use the __________ command.
mkisofs
The command __________ can be used to cleanly unmount an optical disc filesystem and trigger the drive bay to open physically.
eject

On a physical hard disk platter shown in the diagram, a concentric ring is a(n) __________, a segment of that ring is a(n) __________, and a group of combined sectors is a(n) __________.
track; sector; block
A series consisting of the exact same concentric track across all metal platters inside a hard disk drive is called a(n) __________.
cylinder
Partition definitions on traditional BIOS disks are stored in the __________, whereas modern disks larger than 2TB use the __________.
Master Boot Record (MBR); GUID Partition Table (GPT)
Under MBR partitioning, partition numbers 1 through 4 are reserved for primary or extended partitions, while logical drives inside an extended partition always begin at number __________.
5
The partitioning tool that can ONLY be used to create and manipulate partitions on GPT storage devices is __________.
gdisk
After modifying disk partitions using fdisk, the __________ command can be executed to force the Linux kernel to reload the partition table into memory without rebooting.
partprobe
To initialize a partition for virtual memory, run the __________ command, and then turn it on with the __________ command.
mkswap; swapon

In the LVM architecture shown, raw storage partitions are initialized as __________, grouped into a(n) __________, and then allocated as __________.
Physical Volumes (PVs); Volume Group (VG); Logical Volumes (LVs)
In LVM, the contiguous block allocation unit size within a Volume Group is called the __________ size.
Physical Extent (PE)
To add a newly initialized physical volume into an existing volume group, use the __________ command.
vgextend
The command __________ increases the storage capacity allocated to an existing logical volume.
lvextend
The __________ command reports available and used space on mounted filesystems, whereas the __________ command calculates the disk space consumed by files and directories.
df; du
To view the total and free inode count on an ext2, ext3, or ext4 filesystem, execute the command __________.
dumpe2fs -h
The process of committing volatile data cached in RAM onto physical persistent storage is called __________.
syncing
A filesystem must always be __________ before running the fsck command to inspect and repair errors.
unmounted
To run fsck on all filesystems in /etc/fstab with a non-zero sixth field while explicitly bypassing the root filesystem, pass the option __________.
-AR
To check an ext2, ext3, or ext4 partition for bad physical blocks, run the e2fsck command with the __________ option.
-c
The command __________ modifies ext-family filesystem tuning parameters, such as altering the time interval between mandatory full system checks with the -i option.
tune2fs
Under Linux disk quotas, a(n) __________ limit cannot be exceeded under any circumstances, while a(n) __________ limit permits temporary overage for a default grace period of seven days.
hard; soft
To enable quotas on a partition, the mount options __________ and __________ must be added to the filesystem's entry in /etc/fstab.
usrquota; grpquota
The command used to scan filesystems, create, and initialize the aquota.user and aquota.group files is __________.
quotacheck
Administrators use the __________ command to edit quota limits for specific user accounts, and the __________ command to produce an overview report of filesystem quota utilization.
edquota; repquota