Lecture #2 Storage Devices and File Systems

Learner Outcomes

Activities

Assignment

Read Chapter 7 pp. 198-210 and Chapter 8 pp. 223-232.
Be able to answer the following questions:
  1. What would be the device name of the fifth SCSI disk on a system? What would the name of its first partition?
  2. What is the purpose of swap space in Linux or UNIX? What is the system type number for a Linux swap partition?
  3. What is the fdisk utility used for?
  4. Where do file systems reside?
  5. What is the /etc/fstab file used for?
  6. What are the six entries on each line of the above file?
  7. What is the difference between a file system, a partition, and a mount point?
  8. What is the name of the configuration file for GRUB? For LILO?
  9. What would GRUB call the fourth partition ont he first hard drive?
  10. What are the similarities and differences between GRUB and LILO?

Storage Devices and File Systems

  1. Hard Disk Geometry
  2. Disk Partitioning
  3. File System Terminology
  4. File systems
    1. Superblock
    2. Inode Table (List)
    3. Data blocks
    4. lost+found directories
  5. Mounting and Unmounting File Systems
  6. The dd Command

Relevant Commands and Files

Commands Files
fdisk     - disk partitioning  
mkfs      - makes file systems /etc/fstab
mount     - mounts filesystems /etc/mtab
umount    - unmounts filesystems  
dd        - dumps data to devices  
xxd       - displays data in hexadecimal format