Devices 2 Flashcards

1
Q

Linux recognizes most optical storage drives as the SCSI devices ____, ____ and so on.

A

/dev/sr0

/dev/sr1

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

What are terminals?

A

Devices for moving characters between a user process and an I/O device, usually for text output to a terminal screen.

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

Where does the name terminal come from?

A

The terminal device interface goes back a long way, to the days when terminals were typewriter-based devices.

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

What are pseudoterminal devices?

A

Emulated terminals that understand the I/O features of real terminals, but rather than talk to a real piece of hardware, the kernel presents the I/O interface to a piece of software, such as the shell terminal window that you type most of your commands into.

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

Linux has two primary display modes. What are they?

A

text mode

X Window System server (graphics mode, usually via a display manager)

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

Although Linux systems traditionally booted in text mode, most distributions now use kernel parameters and interim graphical display mechanisms (_____ such as plymouth) to completely hide text mode as the system is booting.

A

bootsplashes

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

Unnecessary complexity in the kernel is dangerous because you can too easily introduce ________.

A

system instability

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

The kernel presents each partition as a ____________, just as it would an entire disk.

A

block device

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

Partitions are defined on a small area of the disk called a _____.

A

partition table.

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

There are many kinds of partition tables. The traditional table is the one found inside the ________. A newer standard starting to gain traction is the _______.

A

Master Boot Record (MBR)

Globally Unique Identifier Partition Table (GPT)

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

parted

A

a text-based tool that supports both MBR and GPT

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

gparted

A

a graphical version of parted

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

fdisk

A

the traditional text-based Linux disk partitioning tool. fdisk does not support GPT

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

gdisk

A

a version of fdisk that supports GPT but not MBR

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

The traditional MBR partition table is called _____ by parted

A

msdos

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

A filesystem is a form of database; it supplies the ______.

A

structure to transofrm a simple block device into the sophisticated hierarchy of files and subdirectories that users can understand.

17
Q

Much as the SCSI subsystem standardizes communication between different device types and kernel control commands, Virtual File System (VFS) ensures that all _______.

A

all filesystem implementatoins support a standard interface so that user-space applications access files and directories in the same manner.

18
Q

ext4

A

the fourth extended filesystem

19
Q

The _________ was a longtime default for Linux systems inspried by traditional Unix filesystems such as the Unix File System (UFS) and the Fast File System (FFS0. The ______ added a journal feature (a small cache outside the normal filesystem data structure) to enhance data integrity and hasten booting. The ____ is an incremental improvement with support for larger files and a greater number of subdirectories.

A

second extended filesystem (ext2)
third extended filesystem (ext3)
fourth extended filesystem (ext4)

20
Q

______ is a CD-ROM standard.

A

ISO 9660 (iso9660)

21
Q

____ (msdos, vfat, umsdos) pertain to Microsoft systems.

A

FAT filesytems

22
Q

What is HFS+?

A

HFS+ (hfsplus) is an Apple standard used on most Macintosh systems.

23
Q

New Linux filesystems, such as ____, are under development and may be poised to replace the Extended series.

A

Btrfs

24
Q

On Unix, the process of attaching a filesystem is called ______.

A

mounting

25
Q

When the system boots, the kernel reads some configuration data and ___________.

A

mounts root (/) based on the configuration data.

26
Q

If you run out of real memory, what can Linux do?

A

The Linux virtual memory system can automatically move pieces of memory to and from a disk storage.

27
Q

What is it called when Linux virtual memory system moves pieces of memory to and from disk storage?

A

Swapping.

28
Q

What is swapping?

A

Pieces of idle programs are swapped to the disk in exchange for active pieces residing on the disk.

29
Q

The disk are used to store memory pages is called _____ or ____ for short.

A

swap space

swap

30
Q

What is swap space?

A

The disk are used to store memory pages.

31
Q

If you’re running many processess, it’s generally fine to swap out parts of inactive processes or even inactive pieces of active processes. However, if you’re constantly using the swap space because many active processes want to use the memory at once, _________.

A

you will suffer serious performance problems because disk I/O is just too slow to keep up with the rest of the system.