Operating Systems 1
Tutorial 8
- Name one problem with storing files as linked lists of blocks.
- Name one problem with representing the free blocks on a disk as a linked list (free chain). And nominate an alternative approach.
- What is the overhead of a file allocation table (FAT) scheme of disk block allocation, as compared to the overhead of the simple linked list approach?
- A particular 720K floppy uses 512byte blocks, and a FAT-based file system, with 12-bit FAT entries. How big will the FAT be in Kbytes? How many disk blocks will it occupy?
- Describe briefly how an indexed block allocation scheme works.
- A disk uses 2K blocks, 32-bit block pointers, and is formatted with a UNIX filesystem which makes use of double indirect blocks. To how much of a file (in bytes) may a double-indirect block refer? If each inode has room for 4 double indirect block pointers (only), what is the maximum size of a file in this system?
- What is the essential difference between a 'hard link' and a 'soft (symbolic) link'?