Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
27 Cards in this Set
- Front
- Back
What is a device file?
|
a file representing a system device. dont have data blocks so are small. usually found in the /dev directory.
|
|
Character devices
|
devices that transfer data to and from system character by character. slow data transfer. ex: keyboard
|
|
Block devices
|
devices that transfer chunks or blocks of data using main memory as the buffer. fast data transfer. ex: hard disk.
|
|
Characteristics of a device file
|
consists of file type (block or character), major number and minor number
|
|
File system
|
organization imposed on physical storage media
|
|
major #
|
points to devices driver in the linux kernel
|
|
minor #
|
indicates the device itself in particular
|
|
using ls -l
|
replaces the size of the dev files with these major and minor numbers
|
|
formatting
|
creating a filesystem on a device
|
|
filesystem
|
organization imposed on physical storage media. enables operating system to save and retrieve files.
|
|
ext3
|
a journaling file system. it's just ext2 but with journaling.
|
|
journaling
|
Journaling was designed for ext3 to help recover quickly from a crash
With a journaling filesystem, a log is kept of all write operations In the event of a crash, the operating system uses the log to restore files in the process of being written to their original state |
|
tune2fs
|
converts ext3 to ext2 and vice versa
|
|
mounting
|
Making a device accessible to users via the logical directory tree
|
|
mount point
|
a directory to which a device is attached. any existing directory can be a mount point.
|
|
the Root filesystem
|
When Linux boots, a filesystem on a partition of the hard drive is mounted to the / directory
|
|
mount command
|
used to mount devices to mount point directories or list all currently mounted filesystems in system if no arguments are implemented
|
|
unmount command
|
used to unmount devices
|
|
partition
|
a logical division of a disk. can have its own filesystem and mount point
|
|
track
|
areas on a hard disk that form cocentric circles
|
|
sector
|
smallest unit of data storage on a track, tracks are divided into segments called these
|
|
block
|
combination of sectors; commonly used by filesystem commands
|
|
cylinder
|
series consisting of the same concentric track on all of the platters inside a hard disk drive
|
|
where are partition definitions stored?
|
in the first readable sector of the hard disk (MBR)
|
|
filesystem corruption
|
errors in filesystem structure preventing retrieval of data. commonly occurs due to improper system shutdowns.
|
|
syncing
|
data to be written to disk is first stored in RAM. syncing is the process of writing data stored in RAM to the hard disk.
|
|
bad blocks
|
unusable areas of a disk. they cannot hold a magnetic charge. when found, they are placed in a bad block table so the OS does not try to use
|