Chapter 5 Study Guide: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
To view the type of the file use the following command
To view the type of the file use the following command
  “ls -l/dev/dsk”
  “ls -l/dev/dsk”
Major and minor numbers are associated with the device special files in the /dev directory and are used by the operating system to determine the actual driver and device to be accessed by the user-level request for the special device file.
The major number identifies the device class or group, such as a controller for several terminals. The major number is assigned, sequentially, to each device driver by the Installable Driver Tools during driver installation.
The minor number identifies a specific device, such as a single terminal. Minor numbers are assigned to special files by the driver writer in another system configuration file called the Node file.


==Filesystems==
==Filesystems==
'''Filesystem:'''
The organization imposed on a physical storage medium that is used to manage the storage, store, retrieve, and update data on device. All filesystems have three common components: the superblock, the inode table, and the data blocks. Together they organize files and allow rapid access to and retrieval of data.
==Mounting==
'''Mounting''' the process used to associate a device with a directory in the logical directory tree such that users can store data on that devices.
A '''mount point''' is a physical location or a directory  in the partition used as a root filesystem.
==Floppies==
Used to transfer small amounts of information from computer to computer in the past
Not available on all systems today
Each disk must be formatted with a filesystem prior to being used to store files
After formatting then you must mount it on the directory tree before it can be used
Use the mkfs (make file system) command to format the floppy disk
Specify the filesystem type with a –t switch
Specify a different file system name after the –t option such as the DOS FAT filesystem:
mkfs –t msdos /dev/fd0


==Working with Floppies==
If you don’t specify the filesystem then the default assumed is the ext2 file system: mkfs /dev/fd0


==CDs, DVDs, and ISO Images==
==CDs, DVDs, and ISO Images==

Revision as of 01:10, 15 February 2012

This is where I am going to put the chapter 5 study guide. Don't read this until it is done and this sentance is not here! ~JB

Main Point

Bolded word to define

Blah blah

/Dev directoy

The /dev directory contains the special device files that control access all the devices. Two main types of devices under all systems:

Character devices

Data transfers character by character to and from the device.

Block devices

Transfers chunks or blocks of information at a time by using physical memory to buffer the transfer

To view the type of the file use the following command

“ls -l/dev/dsk”


Major and minor numbers are associated with the device special files in the /dev directory and are used by the operating system to determine the actual driver and device to be accessed by the user-level request for the special device file.

The major number identifies the device class or group, such as a controller for several terminals. The major number is assigned, sequentially, to each device driver by the Installable Driver Tools during driver installation.

The minor number identifies a specific device, such as a single terminal. Minor numbers are assigned to special files by the driver writer in another system configuration file called the Node file.

Filesystems

Filesystem: The organization imposed on a physical storage medium that is used to manage the storage, store, retrieve, and update data on device. All filesystems have three common components: the superblock, the inode table, and the data blocks. Together they organize files and allow rapid access to and retrieval of data.


Mounting

Mounting the process used to associate a device with a directory in the logical directory tree such that users can store data on that devices.


A mount point is a physical location or a directory in the partition used as a root filesystem.

Floppies

Used to transfer small amounts of information from computer to computer in the past Not available on all systems today Each disk must be formatted with a filesystem prior to being used to store files After formatting then you must mount it on the directory tree before it can be used


Use the mkfs (make file system) command to format the floppy disk Specify the filesystem type with a –t switch Specify a different file system name after the –t option such as the DOS FAT filesystem:

mkfs –t msdos /dev/fd0

If you don’t specify the filesystem then the default assumed is the ext2 file system: mkfs /dev/fd0

CDs, DVDs, and ISO Images

Hard Disks

USB and Fireware based storage

Monitoring Filesystems

Hard Disk Quotas