Deck 5: Linux Filesystem Administration

Full screen (f)
exit full mode
Question
To view the size of a directory and its contents in Kilobytes, you can use the du command. _________________________
Use Space or
up arrow
down arrow
to flip the card.
Question
When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
Question
To format a filesystem with a specified filesystem type, you can use the ____ option with the mkfs command.

A) -t
B) -f
C) -c
D) -o
Question
PATA hard disk drives typically have faster data transfer speeds, and most systems allow for the connection of more than four such hard disks. _________________________
Question
The ____ filesystem contains most of the operating system files.

A) boot
B) data
C) mnt
D) root
Question
Devices that transfer data in a character-by-character fashion are referred to as ____ devices.

A) text
B) block
C) character
D) binary
Question
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).

A) /dev/hdc1
B) /dev/hdb1
C) /dev/hda1
D) /dev/hdc2
Question
CD-ROMs typically use the ____ filesystem type.

A) ntfs
B) ext2
C) iso9660
D) ext3
Question
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, you can simply type the ____ command.

A) mount -o
B) mount -f
C) mount -u
D) mount -a
Question
The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive.

A) ntfs
B) udf
C) ext2
D) hpfs
Question
If you do not know the type, major, or minor number of a device, you can use the ____ command to re-create the device based on the common name.

A) /dev/MAKEDEV
B) mkfs
C) mknod
D) /dev/makedevice
Question
When a device is mounted, it is attached to a certain directory on the directory tree called a(n) mount point. _________________________
Question
Linux requires ____ partition(s) at minimum.

A) one
B) two
C) three
D) four
Question
In Linux, you must use only one type of filesystem on a system.
Question
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
Question
The ____ device file represents the second serial port on the system (COM2).

A) /dev/ttyS0
B) /dev/tty2
C) /dev/tty1
D) /dev/ttyS1
Question
After a typical Fedora Linux installation, over 700 different device files are in the /dev directory.
Question
Device files that represent disks, such as floppy disks, CD-ROMs, DVDs, USB flash drives, and hard disks, are typically character device files because a fast data transfer rate is preferred. _________________________
Question
There can be multiple device files per device.
Question
To check whether the /mnt/floppy directory is being used by any users, you can use the fuser command with the -u option. _________________________
Question
To create partitions after installation, you can use the ____ command.

A) format
B) formatdisk
C) fdisk
D) partition
Question
You can edit the quotas for certain users by using the ____ command.

A) edquota
B) editquota
C) quota
D) repquota
Question
At installation, Fedora Linux creates a symbolic link called ____________________ to the correct device file for your first CD-ROM drive.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Indicates a particular device.
Question
An extended partition can contain many subpartitions called ____________________.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Directory that stores device files.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Hard disk quotas that the user can exceed for a certain period of time.
Question
Errors on a filesystem are often referred to as filesystem ____ and are common on most filesystems.

A) breaks
B) corruption
C) degradation
D) failures
Question
Each track on a hard disk is divided into ____________________ of information.
Question
Creating a filesystem on a device is commonly referred to as ____________________.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
File that contains a list of devices that are currently used on the system and their major numbers.
Question
Data is read off of hard disks in concentric circles called ____.

A) tracks
B) blocks
C) sectors
D) cylinders
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
The first readable sector of a hard disk, where partition definitions are stored.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Rigid quota limits that the user cannot exceed.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Points to the device driver for a device in the Linux kernel.
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
File on the hard disk representing a device on a Linux system.
Question
The easiest method for monitoring free space by mounted filesystems is to use the ____ command.

A) df
B) fs
C) dfs
D) fd
Question
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Command used to create modify filesystem parameters.
Question
To check a filesystem for errors, you can use the ____ command, which can check filesystems of many different types.

A) fcheck
B) fsc
C) fscheck
D) fsck
Question
If you find a corrupted device file, or accidentally delete a device file, the ____________________ command can be used to re-create the device file if you know the type, major, and minor numbers.
Question
What are hard disk quotas? Why and how are they used? Mention the difference between hard and soft limits, and briefly discuss how quotas can be turned on.
Question
Describe the process of mounting and unmounting a CD or DVD. In the process, discuss the configuration of a CD drive on a Linux system. Mention the filesystem typically used for CDs, and explain how this affects the mounting process.
Question
What are character devices and block devices? What is the difference between them? What types of devices are represented by block device files?
Question
What is filesystem corruption? What factors may lead to filesystem corruption?
Question
What are the three different types of hard drives? Briefly describe each, and list the possible configurations and device files for each type.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 5: Linux Filesystem Administration
1
To view the size of a directory and its contents in Kilobytes, you can use the du command. _________________________
True
2
When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.
True
3
To format a filesystem with a specified filesystem type, you can use the ____ option with the mkfs command.

A) -t
B) -f
C) -c
D) -o
A
4
PATA hard disk drives typically have faster data transfer speeds, and most systems allow for the connection of more than four such hard disks. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
5
The ____ filesystem contains most of the operating system files.

A) boot
B) data
C) mnt
D) root
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
6
Devices that transfer data in a character-by-character fashion are referred to as ____ devices.

A) text
B) block
C) character
D) binary
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).

A) /dev/hdc1
B) /dev/hdb1
C) /dev/hda1
D) /dev/hdc2
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
8
CD-ROMs typically use the ____ filesystem type.

A) ntfs
B) ext2
C) iso9660
D) ext3
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
9
To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, you can simply type the ____ command.

A) mount -o
B) mount -f
C) mount -u
D) mount -a
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
10
The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive.

A) ntfs
B) udf
C) ext2
D) hpfs
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
11
If you do not know the type, major, or minor number of a device, you can use the ____ command to re-create the device based on the common name.

A) /dev/MAKEDEV
B) mkfs
C) mknod
D) /dev/makedevice
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
12
When a device is mounted, it is attached to a certain directory on the directory tree called a(n) mount point. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
13
Linux requires ____ partition(s) at minimum.

A) one
B) two
C) three
D) four
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
14
In Linux, you must use only one type of filesystem on a system.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
15
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
16
The ____ device file represents the second serial port on the system (COM2).

A) /dev/ttyS0
B) /dev/tty2
C) /dev/tty1
D) /dev/ttyS1
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
17
After a typical Fedora Linux installation, over 700 different device files are in the /dev directory.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
18
Device files that represent disks, such as floppy disks, CD-ROMs, DVDs, USB flash drives, and hard disks, are typically character device files because a fast data transfer rate is preferred. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
19
There can be multiple device files per device.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
20
To check whether the /mnt/floppy directory is being used by any users, you can use the fuser command with the -u option. _________________________
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
21
To create partitions after installation, you can use the ____ command.

A) format
B) formatdisk
C) fdisk
D) partition
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
22
You can edit the quotas for certain users by using the ____ command.

A) edquota
B) editquota
C) quota
D) repquota
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
23
At installation, Fedora Linux creates a symbolic link called ____________________ to the correct device file for your first CD-ROM drive.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
24
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Indicates a particular device.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
25
An extended partition can contain many subpartitions called ____________________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
26
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Directory that stores device files.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
27
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Hard disk quotas that the user can exceed for a certain period of time.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
28
Errors on a filesystem are often referred to as filesystem ____ and are common on most filesystems.

A) breaks
B) corruption
C) degradation
D) failures
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
29
Each track on a hard disk is divided into ____________________ of information.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
30
Creating a filesystem on a device is commonly referred to as ____________________.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
31
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
File that contains a list of devices that are currently used on the system and their major numbers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
32
Data is read off of hard disks in concentric circles called ____.

A) tracks
B) blocks
C) sectors
D) cylinders
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
33
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
The first readable sector of a hard disk, where partition definitions are stored.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
34
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Rigid quota limits that the user cannot exceed.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
35
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Points to the device driver for a device in the Linux kernel.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
36
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
File on the hard disk representing a device on a Linux system.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
37
The easiest method for monitoring free space by mounted filesystems is to use the ____ command.

A) df
B) fs
C) dfs
D) fd
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
38
Match each term with the correct statement below.
a.MBR
f./dev
b./proc/devices
g.major number
c.soft limits
h.device file
d.minor number
i.hard limits
e.tune2fs
Command used to create modify filesystem parameters.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
39
To check a filesystem for errors, you can use the ____ command, which can check filesystems of many different types.

A) fcheck
B) fsc
C) fscheck
D) fsck
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
40
If you find a corrupted device file, or accidentally delete a device file, the ____________________ command can be used to re-create the device file if you know the type, major, and minor numbers.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
41
What are hard disk quotas? Why and how are they used? Mention the difference between hard and soft limits, and briefly discuss how quotas can be turned on.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
42
Describe the process of mounting and unmounting a CD or DVD. In the process, discuss the configuration of a CD drive on a Linux system. Mention the filesystem typically used for CDs, and explain how this affects the mounting process.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
43
What are character devices and block devices? What is the difference between them? What types of devices are represented by block device files?
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
44
What is filesystem corruption? What factors may lead to filesystem corruption?
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
45
What are the three different types of hard drives? Briefly describe each, and list the possible configurations and device files for each type.
Unlock Deck
Unlock for access to all 45 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 45 flashcards in this deck.