Professional Documents
Culture Documents
Chapter 3 Outline
Chapter 3 Outline
Joel Mattfolk
I/O: once a linux system is running you can explore what I/O addresses
the computer is using by examining the contents of the /proc/ioports
file. To do this use the command: cat /proc/ioports
DMA Addresses: Direct Memory addressing is an alternative method
of communication to I/O ports. Rather than have the CPU mediate the
transfer of data between a device and memory, DMA permits the
device to transfer data directly, without the CPUs Attention.
o To check what DMA channels your system is using use the
command cat /proc/dma
BIOS: The bios boot process begins with the computer reading a boot
sector from a disk and then executing that code.
o Boot options for BIOS based computers are limited. You can only
select the order in which various boot devices are examined to
find a boot sector
EFI: The boot process for EFI involved the computer reading a boot
loader file from a filesystem on a special partition, known as the EFI
System Partition(ESP). This file either can take a special default name
or can be registered in the computers NVRAM.
o EFI computers have an extended range of boot options including:
default boot loader files from various devices, and multiple boot
loaders on the computers hard disk.
Type q
o Display the current partition table: to do this type p, or if
you want to display only the current table type fdisk -1 /dev/had
o Create a partition: type n
o Delete a partition: type d
o Change a partition type: type t
o List partition types: type l
o Mark a partition bootable: type a
o Get help: type m or ?
o Exit: type q to exit the program without saving. Type w to write
your changes to the disk and exit the program.
Common file system types
o Ext2fs: the second extended file system is the traditional linux
native file system. It was created for linux and was the dominant
linux filesystem throughout the late 1990s. it can be a good
choice for a small /boot partition, and for small disks
o Ext3fs: the third extended file system is basically ext2fs with a
journal added. It recovers from power outages and system
crashes more quickly then ext2fs.
o Which files contain essential system information such as IRQs,
direct-memory access channels, and and I/o Addresses?
/proc ioports, /proc/dma /proc/interrupts
o Ext4fs: the fourth extended. It adds the ability to work with very
large disks or very large files as well as extensions intended to
improve performance.
o A new linux administrator plans to create a system with separate
/home, /usr/local. Which of the following best describes this
config?
The system wont boot because /etc contains config files
necessary to mount non-rott partitions
o ReiserFS: designed from scratch as a journaling filesystem for
linux. Its good at handling large numbers of small files. Because
ReiserFs uses carious tricks to dqueeze the ends of files into each
others unused space. These small savings can add up when
files are small.
o What does the following command accomplish? Mkfs -t ext2
/dev/sda4
It creates a new ext2 filesystem on /dev/sda4, overwriting
any existing filesystem and data
o Which of the following best summarizes the diferences between
windows fdisk and linuxs fdisk?
o
o
o
o