From 259a0eec1bc4ec999c3ee6a7358d5ccc9c04d1aa Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 18 Apr 2021 15:57:10 -0600 Subject: 1, 2, 3, 4, 5, 6... get yo partner on the netflix? --- doc/assignment3.md | 8 ++++++-- 1 file 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) -- cgit v1.2.3