Deck 6: Linux Filesystem Administration

Full screen (f)
exit full mode
Question
To create partitions after installation, you can use the ____ command.

A)format
B)formatdisk
C)fdisk
D)partition
Use Space or
up arrow
down arrow
to flip the card.
Question
Linux requires ____ partition(s)at minimum.

A)1
B)2
C)3
D)4
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
There can be multiple device files per device.
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
Data is read off of hard disks in concentric circles called ____.

A)tracks
B)blocks
C)sectors
D)cylinders
Question
After a typical Red Hat Fedora Linux installation,over 18,000 different device files are in the /dev directory.
Question
If you do not know the type, major, or minor number of a device, you can use the ____ program to re-create the device based on the common name.

A)/dev/MAKEDEV
B)mkfs
C)mknod
D)/dev/makedevice
Question
Floppy disks are typically mounted automatically to the /mnt/floppy directory when you access the floppy disk using a GUI environment.
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
CD-ROMs typically use the ____ filesystem type.

A)ntfs
B)ext2
C)iso9660
D)ext3
Question
In Linux you must use only one type of filesystem on a 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
The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.
Question
The ____ filesystem is used by software programs that write to a CD-R, CD-RW, or DVD.

A)ntfs
B)udf
C)ext2
D)hpfs
Question
The ____ filesystem contains most of the operating system files.

A)boot
B)data
C)mnt
D)root
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
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
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
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
You can edit the quotas for certain users by using the ____ command.

A)edquota
B)editquota
C)quota
D)repquota
Question
Match between columns
Command used to create a journal file on the filesystem.
/dev
Command used to create a journal file on the filesystem.
minor number
Command used to create a journal file on the filesystem.
device file
Command used to create a journal file on the filesystem.
tune2fs
Command used to create a journal file on the filesystem.
MBR
Command used to create a journal file on the filesystem.
/proc/devices
Command used to create a journal file on the filesystem.
hard limits
Command used to create a journal file on the filesystem.
major number
Command used to create a journal file on the filesystem.
soft limits
Quota limits that allows the user to extend them for a certain period of time.
/dev
Quota limits that allows the user to extend them for a certain period of time.
minor number
Quota limits that allows the user to extend them for a certain period of time.
device file
Quota limits that allows the user to extend them for a certain period of time.
tune2fs
Quota limits that allows the user to extend them for a certain period of time.
MBR
Quota limits that allows the user to extend them for a certain period of time.
/proc/devices
Quota limits that allows the user to extend them for a certain period of time.
hard limits
Quota limits that allows the user to extend them for a certain period of time.
major number
Quota limits that allows the user to extend them for a certain period of time.
soft limits
Directory that stores device files.
/dev
Directory that stores device files.
minor number
Directory that stores device files.
device file
Directory that stores device files.
tune2fs
Directory that stores device files.
MBR
Directory that stores device files.
/proc/devices
Directory that stores device files.
hard limits
Directory that stores device files.
major number
Directory that stores device files.
soft limits
The first readable sector of a hard disk, where partition definitions are stored.
/dev
The first readable sector of a hard disk, where partition definitions are stored.
minor number
The first readable sector of a hard disk, where partition definitions are stored.
device file
The first readable sector of a hard disk, where partition definitions are stored.
tune2fs
The first readable sector of a hard disk, where partition definitions are stored.
MBR
The first readable sector of a hard disk, where partition definitions are stored.
/proc/devices
The first readable sector of a hard disk, where partition definitions are stored.
hard limits
The first readable sector of a hard disk, where partition definitions are stored.
major number
The first readable sector of a hard disk, where partition definitions are stored.
soft limits
Indicates a particular device.
/dev
Indicates a particular device.
minor number
Indicates a particular device.
device file
Indicates a particular device.
tune2fs
Indicates a particular device.
MBR
Indicates a particular device.
/proc/devices
Indicates a particular device.
hard limits
Indicates a particular device.
major number
Indicates a particular device.
soft limits
File that contains a list of devices that are currently used on the system and their major numbers.
/dev
File that contains a list of devices that are currently used on the system and their major numbers.
minor number
File that contains a list of devices that are currently used on the system and their major numbers.
device file
File that contains a list of devices that are currently used on the system and their major numbers.
tune2fs
File that contains a list of devices that are currently used on the system and their major numbers.
MBR
File that contains a list of devices that are currently used on the system and their major numbers.
/proc/devices
File that contains a list of devices that are currently used on the system and their major numbers.
hard limits
File that contains a list of devices that are currently used on the system and their major numbers.
major number
File that contains a list of devices that are currently used on the system and their major numbers.
soft limits
Quota limits that are rigid and prevents the user from going past them.
/dev
Quota limits that are rigid and prevents the user from going past them.
minor number
Quota limits that are rigid and prevents the user from going past them.
device file
Quota limits that are rigid and prevents the user from going past them.
tune2fs
Quota limits that are rigid and prevents the user from going past them.
MBR
Quota limits that are rigid and prevents the user from going past them.
/proc/devices
Quota limits that are rigid and prevents the user from going past them.
hard limits
Quota limits that are rigid and prevents the user from going past them.
major number
Quota limits that are rigid and prevents the user from going past them.
soft limits
File on the hard disk representing a device on a Linux system.
/dev
File on the hard disk representing a device on a Linux system.
minor number
File on the hard disk representing a device on a Linux system.
device file
File on the hard disk representing a device on a Linux system.
tune2fs
File on the hard disk representing a device on a Linux system.
MBR
File on the hard disk representing a device on a Linux system.
/proc/devices
File on the hard disk representing a device on a Linux system.
hard limits
File on the hard disk representing a device on a Linux system.
major number
File on the hard disk representing a device on a Linux system.
soft limits
Points to the device driver for a device in the Linux kernel.
/dev
Points to the device driver for a device in the Linux kernel.
minor number
Points to the device driver for a device in the Linux kernel.
device file
Points to the device driver for a device in the Linux kernel.
tune2fs
Points to the device driver for a device in the Linux kernel.
MBR
Points to the device driver for a device in the Linux kernel.
/proc/devices
Points to the device driver for a device in the Linux kernel.
hard limits
Points to the device driver for a device in the Linux kernel.
major number
Points to the device driver for a device in the Linux kernel.
soft limits
Question
What are the two different types of hard drives? Briefly describe each, and list the possible configurations and device files for each type.
Question
At installation, Red Hat Fedora Linux creates a symbolic link called ____________________ to the appropriate CD-ROM device.
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 character devices and block devices? What is the difference between them? What types of devices are represented by block device files?
Question
An extended partition can contain many subpartitions called ____________________.
Question
Creating a filesystem on a device is commonly referred to as ____________________.
Question
Describe the process of mounting and unmounting a CD-ROM. In the process, discuss the configuration of a CD-ROM drive on a Linux system. Mention the filesystem typically used for CD-ROMs, and explain how this affects the mounting process.
Question
What is filesystem corruption? What factors may lead to filesystem corruption?
Question
Each track on a hard disk is divided into ____________________ of information.
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.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/32
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Linux Filesystem Administration
1
To create partitions after installation, you can use the ____ command.

A)format
B)formatdisk
C)fdisk
D)partition
C
2
Linux requires ____ partition(s)at minimum.

A)1
B)2
C)3
D)4
B
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
There can be multiple device files per device.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
5
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 32 flashcards in this deck.
Unlock Deck
k this deck
6
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 32 flashcards in this deck.
Unlock Deck
k this deck
7
After a typical Red Hat Fedora Linux installation,over 18,000 different device files are in the /dev directory.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
8
If you do not know the type, major, or minor number of a device, you can use the ____ program 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 32 flashcards in this deck.
Unlock Deck
k this deck
9
Floppy disks are typically mounted automatically to the /mnt/floppy directory when you access the floppy disk using a GUI environment.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
10
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 32 flashcards in this deck.
Unlock Deck
k this deck
11
CD-ROMs typically use the ____ filesystem type.

A)ntfs
B)ext2
C)iso9660
D)ext3
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
12
In Linux you must use only one type of filesystem on a system.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
13
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 32 flashcards in this deck.
Unlock Deck
k this deck
14
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 32 flashcards in this deck.
Unlock Deck
k this deck
15
The ____ filesystem is used by software programs that write to a CD-R, CD-RW, or DVD.

A)ntfs
B)udf
C)ext2
D)hpfs
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
16
The ____ filesystem contains most of the operating system files.

A)boot
B)data
C)mnt
D)root
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
17
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 32 flashcards in this deck.
Unlock Deck
k this deck
18
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 32 flashcards in this deck.
Unlock Deck
k this deck
19
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 32 flashcards in this deck.
Unlock Deck
k this deck
20
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 32 flashcards in this deck.
Unlock Deck
k this deck
21
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 32 flashcards in this deck.
Unlock Deck
k this deck
22
Match between columns
Command used to create a journal file on the filesystem.
/dev
Command used to create a journal file on the filesystem.
minor number
Command used to create a journal file on the filesystem.
device file
Command used to create a journal file on the filesystem.
tune2fs
Command used to create a journal file on the filesystem.
MBR
Command used to create a journal file on the filesystem.
/proc/devices
Command used to create a journal file on the filesystem.
hard limits
Command used to create a journal file on the filesystem.
major number
Command used to create a journal file on the filesystem.
soft limits
Quota limits that allows the user to extend them for a certain period of time.
/dev
Quota limits that allows the user to extend them for a certain period of time.
minor number
Quota limits that allows the user to extend them for a certain period of time.
device file
Quota limits that allows the user to extend them for a certain period of time.
tune2fs
Quota limits that allows the user to extend them for a certain period of time.
MBR
Quota limits that allows the user to extend them for a certain period of time.
/proc/devices
Quota limits that allows the user to extend them for a certain period of time.
hard limits
Quota limits that allows the user to extend them for a certain period of time.
major number
Quota limits that allows the user to extend them for a certain period of time.
soft limits
Directory that stores device files.
/dev
Directory that stores device files.
minor number
Directory that stores device files.
device file
Directory that stores device files.
tune2fs
Directory that stores device files.
MBR
Directory that stores device files.
/proc/devices
Directory that stores device files.
hard limits
Directory that stores device files.
major number
Directory that stores device files.
soft limits
The first readable sector of a hard disk, where partition definitions are stored.
/dev
The first readable sector of a hard disk, where partition definitions are stored.
minor number
The first readable sector of a hard disk, where partition definitions are stored.
device file
The first readable sector of a hard disk, where partition definitions are stored.
tune2fs
The first readable sector of a hard disk, where partition definitions are stored.
MBR
The first readable sector of a hard disk, where partition definitions are stored.
/proc/devices
The first readable sector of a hard disk, where partition definitions are stored.
hard limits
The first readable sector of a hard disk, where partition definitions are stored.
major number
The first readable sector of a hard disk, where partition definitions are stored.
soft limits
Indicates a particular device.
/dev
Indicates a particular device.
minor number
Indicates a particular device.
device file
Indicates a particular device.
tune2fs
Indicates a particular device.
MBR
Indicates a particular device.
/proc/devices
Indicates a particular device.
hard limits
Indicates a particular device.
major number
Indicates a particular device.
soft limits
File that contains a list of devices that are currently used on the system and their major numbers.
/dev
File that contains a list of devices that are currently used on the system and their major numbers.
minor number
File that contains a list of devices that are currently used on the system and their major numbers.
device file
File that contains a list of devices that are currently used on the system and their major numbers.
tune2fs
File that contains a list of devices that are currently used on the system and their major numbers.
MBR
File that contains a list of devices that are currently used on the system and their major numbers.
/proc/devices
File that contains a list of devices that are currently used on the system and their major numbers.
hard limits
File that contains a list of devices that are currently used on the system and their major numbers.
major number
File that contains a list of devices that are currently used on the system and their major numbers.
soft limits
Quota limits that are rigid and prevents the user from going past them.
/dev
Quota limits that are rigid and prevents the user from going past them.
minor number
Quota limits that are rigid and prevents the user from going past them.
device file
Quota limits that are rigid and prevents the user from going past them.
tune2fs
Quota limits that are rigid and prevents the user from going past them.
MBR
Quota limits that are rigid and prevents the user from going past them.
/proc/devices
Quota limits that are rigid and prevents the user from going past them.
hard limits
Quota limits that are rigid and prevents the user from going past them.
major number
Quota limits that are rigid and prevents the user from going past them.
soft limits
File on the hard disk representing a device on a Linux system.
/dev
File on the hard disk representing a device on a Linux system.
minor number
File on the hard disk representing a device on a Linux system.
device file
File on the hard disk representing a device on a Linux system.
tune2fs
File on the hard disk representing a device on a Linux system.
MBR
File on the hard disk representing a device on a Linux system.
/proc/devices
File on the hard disk representing a device on a Linux system.
hard limits
File on the hard disk representing a device on a Linux system.
major number
File on the hard disk representing a device on a Linux system.
soft limits
Points to the device driver for a device in the Linux kernel.
/dev
Points to the device driver for a device in the Linux kernel.
minor number
Points to the device driver for a device in the Linux kernel.
device file
Points to the device driver for a device in the Linux kernel.
tune2fs
Points to the device driver for a device in the Linux kernel.
MBR
Points to the device driver for a device in the Linux kernel.
/proc/devices
Points to the device driver for a device in the Linux kernel.
hard limits
Points to the device driver for a device in the Linux kernel.
major number
Points to the device driver for a device in the Linux kernel.
soft limits
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
23
What are the two 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 32 flashcards in this deck.
Unlock Deck
k this deck
24
At installation, Red Hat Fedora Linux creates a symbolic link called ____________________ to the appropriate CD-ROM device.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
25
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 32 flashcards in this deck.
Unlock Deck
k this deck
26
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 32 flashcards in this deck.
Unlock Deck
k this deck
27
An extended partition can contain many subpartitions called ____________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
28
Creating a filesystem on a device is commonly referred to as ____________________.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
29
Describe the process of mounting and unmounting a CD-ROM. In the process, discuss the configuration of a CD-ROM drive on a Linux system. Mention the filesystem typically used for CD-ROMs, and explain how this affects the mounting process.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
30
What is filesystem corruption? What factors may lead to filesystem corruption?
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
31
Each track on a hard disk is divided into ____________________ of information.
Unlock Deck
Unlock for access to all 32 flashcards in this deck.
Unlock Deck
k this deck
32
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 32 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 32 flashcards in this deck.