1) Pick any file anywhere ever created. Make one up if you want. List three pieces of "metadata" or "file attributes" about that file.

2) When you click on a Macintosh icon associated with a data file, how does it know what application to run?

3) What kind of directories have only long file name entries in a VFAT

file system?

4) Which is faster to seek to the end of a 20KB long file, VFAT or EXT2.

Assume the directory and inodes are cached, but nothing else.


5) Which is faster to seek to the end of a 20MB long file, VFAT or EXT2.

Assume the directory and inodes are cached, but nothing else.

6) What is one disadvantage of the scan disk scheduling method

compared to the c-scan method?

7) Which would be faster, to append a byte to a file in VFAT or the Bullet

file system?

8) What information is stored in a directory for a EXT2 file?

9) Assume 4 byte pointers and 1024 byte blocks. What's the biggest file

a person can create in EXT2 without creating an indirect block?

10) How does VFAT know a long file name directory entry from a regular entry?

11) Two types of sharing semantics are "open-close consistency", and "single image consistency". There are lots more choices. What type did the Bullet file system use?

12) Why is there an "open" operation? Why not just pass the filename to every read/write/etc call?

14) Assume a 512 byte block size. Suppose I have a 1GB disk to format with VFAT32. How big is each FAT. Show math!


15 ) About how many bytes/second can a hard drive transfer?


16) About how long does it take to seek a hard drive to a spot?


17) Suppose our file system has a cache. What would be a good cache hit rate?



18) What is the difference between a character and a block device?



19) Do most hard drive controllers use polling?



20) Which holds the most data, a disk sector, a disk cylinder, or a disk track.


21) Which has a higher bandwidth for writing, RAID 5 or RAID 0?


22) Which has a higher bandwidth, RAID 5 reading or RAID 5 writing?


23) Which has a higher bandwidth, RAID 1 reading or RAID 1 writing?


24) In EXT2, name a piece of information in the superblock that's not also in the block descriptor.


25) In VFAT, are all files contiguous or can they be split?


26) I write a one byte file. I notice the file system says I have 512 bytes less available space. What does this mean?

27) Which would be best for a SSD style disk (like a USB stick):

circular scan disk scheduling

first come first server disk scheduling


Answers at:

http://cs.nmu.edu/~rappleto/Classes/CS426/Tests+Quizes/file-questions-with-answers.html