[an error occurred while processing this directive]
CS 5631 Study Questions and Homework
File systems (Chapters 11-14)
Homework 6
Homework (5 points) due Tuesday, April 6, 2004.
For Homework 6, turn in your answers for the following study questions:
3 (1 point), 5 (2 points), 9 (1 point), and 12 (1 point).
Homework 7
Homework (6 points) due Tuesday, April 13, 2004.
For Homework 7, turn in your answers for the following study questions:
7 (1 point), 13 (1 point), 14 (2 points), and 16 (1 point).
Study questions
-
Describe some kinds of information about a file that an operating system
might need to maintain.
-
Why does an operating system maintain a global table of open files?
-
Good operating systems support both sequential and direct
access.
Why is support needed for both?
-
What is the difference between hard and symbolic links from
the users point of view?
-
What are are three types of allocation methods for file storage on disk?
Which is used in MS-DOS?
Which is used in UNIX?
-
Describe the block cache structures of a UNIX operating system.
-
What is logical (or soft) formatting?
-
What is the purpose of a boot block?
-
In the UNIX operating system, an inode is used to store
information about a file.
It does not contain the file name.
Where is the file name stored?
Explain why that is.
-
In the UNIX operating system, when does the storage allocated to a file
get freed up?
-
What is the difference between the implementations of hard and
symbolic links.
-
A UNIX system may have numerous hard disks, yet the file system appears to
be a single heirarchy to the user.
How is this accomplished?
-
In UNIX, what is the difference between a file and a
stream?
-
A disk drive has 2000 cylinders, numbered 0 to 1999.
The drive is currently servicing a request at cylinder 783, with the
previous request at cylinder 707.
The queue of pending requests, in FIFO order, is
75, 678, 1623, 247, 248, 1529, 182.
What distance, in tracks, must the disk read-write arm move in order to
service the requests for each of the following disk scheduling algorithms?
- FCFS
- SSTF
- SCAN
- LOOK
- C-SCAN
- C-LOOK
-
What is the difference between a hard disk and CD/DVD data organization?
How does rotation of the disk differ?
-
What is spooling?
What device characteristic makes spooling necessary?
-
Why do UNIX (and other OS) kernel I/O structures use pointers to
functions such as read() and write()?
-
In OS networking software what purpose do STREAMS modules serve?
-
What are the primary advantages of RAID systems?
[an error occurred while processing this directive]