diff options
| author | mo khan <mo@mokhan.ca> | 2021-04-18 15:57:10 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-04-18 15:57:10 -0600 |
| commit | 259a0eec1bc4ec999c3ee6a7358d5ccc9c04d1aa (patch) | |
| tree | fcb3494b70ae172a14c5e8ab308f0833df96701a | |
| parent | a929d3c23ffb795247ceee9a7f6a00d184047b5f (diff) | |
1, 2, 3, 4, 5, 6... get yo partner on the netflix?
| -rw-r--r-- | doc/assignment3.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/assignment3.md b/doc/assignment3.md index f92f14d..9d25825 100644 --- a/doc/assignment3.md +++ b/doc/assignment3.md @@ -166,8 +166,12 @@ Your answer for each question should be about 150 words. (100 marks total) > Solaris. 1. If you were creating an operating system to handle files, what are the six basic file operations that you should implement? (8 marks) - - + 1. Creating a file. Allocate space and add directory entry. + 1. Writing a file. Write data starting at seek position in to a file. + 1. Reading a file. Read data from the seek position into a specified buffer. + 1. Repositioning within a file. Change the seek position in a file to read/write to/from. + 1. Deleting a file. Remove the file entry from the directory and release file space. + 1. Truncating a file. Reset size of file to 0 and keep other attributes. 1. To create a new file, an application program calls on the logical file system. Describe the steps the logical file system takes to create a file. (8 marks) 1. How is a hash table superior to a simple linear list structure? What issue must be handled by hash table implementation? (8 marks) 1. What are the factors influencing the selection of a disk-scheduling algorithm? (8 marks) |
