File Systems Review Questions - angrave/SystemProgramming GitHub Wiki

Topics

  • Superblock
  • Data Block
  • Inode
  • Relative Path
  • File Metadata
  • Hard and Soft Links
  • Permission Bits
  • Working with Directories
  • Virtual File System
  • Reliable File Systems
  • RAID

Questions

  • How big can files be on a file system with 15 Direct blocks, 2 double, 3 triple indirect, 4kb blocks and 4byte entries? (Assume enough infinite blocks)
  • What is a superblock? Inode? Datablock?
  • How do I simplify /./proc/../dev/./random/
  • In ext2, what is stored in an inode, and what is stored in a directory entry?
  • What are /sys, /proc, /dev/random, and /dev/urandom?
  • What are permission bits?
  • How do you use chmod to set user/group/owner read/write/execute permissions?
  • What does the "dd" command do?
  • What is the difference between a hard link and a symbolic link? Does the file need to exist?
  • "ls -l" shows the size of each file in a directory. Is the size stored in the directory or in the file's inode?