Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged file-system
0
votes
1
answer
91
Stallings 6e Exercise-11.12 (page no.-539) I/O Management RAID
Consider a 4-drive, 200GB-per-drive RAID array. What is the available data storage capacity for each of the RAID levels, 0, 1, 3, 4, 5, and 6?
Consider a 4-drive, 200GB-per-drive RAID array. What is the available data storage capacity for each of the RAID levels, 0, 1, 3, 4, 5, and 6?
aditi19
8.9k
views
aditi19
asked
Jun 5, 2019
Operating System
descriptive
operating-system
file-system
disk
raid
+
–
1
votes
2
answers
92
Stallings 6e Exercise-11.10 (page number-539) I/O Management
A 32-bit computer has two selector channels and one multiplexor channel. Each selector channel supports two magnetic disk and two magnetic tape units. The multiplexor channel has two line printers, two card readers, and ten VDT terminals ... reader 1.2 Kbytes/s VDT 1 Kbytes/s Estimate the maximum aggregate I/O transfer rate in this system
A 32-bit computer has two selector channels and one multiplexor channel. Each selector channel supports two magnetic disk and two magnetic tape units. The multiplexor cha...
aditi19
1.9k
views
aditi19
asked
Jun 5, 2019
Operating System
descriptive
operating-system
disk
file-system
co-and-architecture
+
–
0
votes
0
answers
93
Galvin Edition 9 Exercise 11 Question 18 (Page No. 541)
Discuss the advantages and disadvantages of associating with remote file systems (stored on file servers) a set of failure semantics different from that associated with local file systems.
Discuss the advantages and disadvantages of associating with remotefile systems (stored on file servers) a set of failure semantics differentfrom that associated with loc...
ajaysoni1924
496
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
94
Galvin Edition 9 Exercise 11 Question 17 (Page No. 540)
Some systems provide file sharing by maintaining a single copy of a file. Other systems maintain several copies, one for each of the users sharing the file. Discuss the relative merits of each approach
Some systems provide file sharing by maintaining a single copy of afile. Other systems maintain several copies, one for each of the userssharing the file. Discuss the rel...
ajaysoni1924
496
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
95
Galvin Edition 9 Exercise 11 Question 16 (Page No. 540)
Discuss the advantages and disadvantages of supporting links to files that cross mount points (that is, the file link refers to a file that is stored in a different volume).
Discuss the advantages and disadvantages of supporting links to filesthat cross mount points (that is, the file link refers to a file that is storedin a different volume)...
ajaysoni1924
347
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
96
Galvin Edition 9 Exercise 11 Question 15 (Page No. 540)
Give an example of an application that could benefit from operatingsystem support for random access to indexed files.
Give an example of an application that could benefit from operatingsystemsupport for random access to indexed files.
ajaysoni1924
333
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
97
Galvin Edition 9 Exercise 11 Question 12 (Page No. 540)
Provide examples of applications that typically access files according to the following methods: • Sequential • Random
Provide examples of applications that typically access files accordingto the following methods:• Sequential• Random
ajaysoni1924
328
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
98
Galvin Edition 9 Exercise 10 Question 23 (Page No. 501)
Discuss the reasons why the operating system might require accurate information on how blocks are stored on a disk. How could the operating system improve file-system performance with this knowledge ?
Discuss the reasons why the operating system might require accurate information on how blocks are stored on a disk. How could the operating system improve file-system per...
akash.dinkar12
441
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
file-system
disk
+
–
0
votes
0
answers
99
Galvin Edition 9 Exercise 11 Question 11 (Page No. 540)
What are the advantages and disadvantages of providing mandatory locks instead of advisory locks whose use is left to users’ discretion?
What are the advantages and disadvantages of providing mandatorylocks instead of advisory locks whose use is left to users’ discretion?
ajaysoni1924
416
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
100
Galvin Edition 9 Exercise 11 Question 10 (Page No. 540)
The open-file table is used to maintain information about files that are currently open. Should the operating system maintain a separate table for each user or maintain just one table that contains references to files that are ... accessed by two different programs or users, should there be separate entries in the open-file table? Explain.
The open-file table is used to maintain information about files that arecurrently open. Should the operating system maintain a separate tablefor each user or maintain jus...
ajaysoni1924
366
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
101
Galvin Edition 9 Exercise 11 Question 9 (Page No. 540)
Consider a file system in which a file can be deleted and its disk space reclaimed while links to that file still exist.What problems may occur if a new file is created in the same storage area or with the same absolute path name? How can these problems be avoided?
Consider a file system in which a file can be deleted and its disk spacereclaimed while links to that file still exist.What problems may occur ifa new file is created in ...
ajaysoni1924
459
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
102
Galvin Edition 9 Exercise 11 Question 8 (Page No. 539)
Researchers have suggested that, instead of having an access list associated with each file (specifying which users can access the file, and how), we should have a user control list associated with each user (specifying which files a user can access, and how). Discuss the relative merits of these two schemes.
Researchers have suggested that, instead of having an access listassociated with each file (specifying which users can access the file,and how), we should have a user con...
ajaysoni1924
345
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
103
Galvin Edition 9 Exercise 11 Question 7 (Page No. 539)
Consider a system that supports 5,000 users. Suppose that you want to allow 4,990 of these users to be able to access one file. a. How would you specify this protection scheme in UNIX? b. Can you suggest another protection scheme that can be used more effectively for this purpose than the scheme provided by UNIX?
Consider a system that supports 5,000 users. Suppose that you want toallow 4,990 of these users to be able to access one file.a. How would you specify this protection sch...
ajaysoni1924
299
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
104
Galvin Edition 9 Exercise 11 Question 6 (Page No. 539)
In some systems, a subdirectory can be read and written by an authorized user, just as ordinary files can be. a. Describe the protection problems that could arise. b. Suggest a scheme for dealing with each of these protection problems.
In some systems, a subdirectory can be read and written by anauthorized user, just as ordinary files can be.a. Describe the protection problems that could arise.b. Sugges...
ajaysoni1924
261
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
105
Galvin Edition 9 Exercise 11 Question 5 (Page No. 539)
Explain the purpose of the open() and close() operations.
Explain the purpose of the open() and close() operations.
ajaysoni1924
139
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
106
Galvin Edition 9 Exercise 11 Question 4 (Page No. 539)
Could you simulate a multilevel directory structure with a single-level directory structure in which arbitrarily long names can be used? If your answer is yes, explain how you can do so, and contrast this scheme with the ... what prevents your simulation's success. How would your answer change if file names were limited to seven characters?
Could you simulate a multilevel directory structure with a single-leveldirectory structure in which arbitrarily long names can be used? If youranswer is yes, explain how ...
ajaysoni1924
238
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
107
Galvin Edition 9 Exercise 11 Question 2 (Page No. 539)
Why do some systems keep track of the type of a file, while others leave it to the user and others simply do not implement multiple file types? Which system is better ? 3- Similarly, some systems support many types of ... a file's data, while others simply support a stream of bytes. What are the advantages and disadvantages of each approach?
Why do some systems keep track of the type of a file, while others leaveit to the user and others simply do not implement multiple file types?Which system is “better”...
ajaysoni1924
159
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
108
Galvin Edition 9 Exercise 11 Question 1 (Page No. 539)
Some systems automatically delete all user files when a user logs off or a job terminates, unless the user explicitly requests that they be kept. Other systems keep all files unless the user explicitly deletes them. Discuss the relative merits of each approach.
Some systems automatically delete all user files when a user logs off ora job terminates, unless the user explicitly requests that they be kept.Other systems keep all fil...
ajaysoni1924
234
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
109
Galvin Edition 9 Exercise 12 Question 19 (Page No. 583)
Explain why logging metadata updates ensures recovery of a file system after a file-system crash.
Explain why logging metadata updates ensures recovery of a file system after a file-system crash.
ajaysoni1924
249
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
110
Galvin Edition 9 Exercise 12 Question 18 (Page No. 583)
Assume that in a particular augmentation of a remote-file-access protocol, each client maintains a name cache that caches translations from file names to corresponding file handles. What issues should we take into account in implementing the name cache?
Assume that in a particular augmentation of a remote-file-accessprotocol, each client maintains a name cache that caches translationsfrom file names to corresponding file...
ajaysoni1924
358
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
111
Galvin Edition 9 Exercise 12 Question 17 (Page No. 582)
Fragmentation on a storage device can be eliminated by recompaction of the information. Typical disk devices do not have relocation or base registers (such as those used when memory is to be compacted), so how can we relocate files? Give three reasons why recompacting and relocation of files are often avoided.
Fragmentation on a storage device can be eliminated by recompactionof the information. Typical disk devices do not have relocation or baseregisters (such as those used wh...
ajaysoni1924
406
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
112
Galvin Edition 9 Exercise 12 Question 16 (Page No. 583)
Consider a file system that uses inodes to represent files. Disk blocks are 8 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 12 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system?
Consider a file system that uses inodes to represent files. Disk blocksare 8 KB in size, and a pointer to a disk block requires 4 bytes. This filesystem has 12 direct dis...
ajaysoni1924
298
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
0
votes
0
answers
113
Galvin Edition 9 Exercise 12 Question 15 (Page No. 583)
Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the information about each file is already in memory. For each of the three allocation strategies (contiguous, linked, and indexed) ... was block 10) and want to access logical block 4, how many physical blocks must be read from the disk?
Consider a file system on a disk that has both logical and physicalblock sizes of 512 bytes. Assume that the information about eachfile is already in memory. For each of ...
ajaysoni1924
565
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
0
votes
0
answers
114
Galvin Edition 9 Exercise 12 Question 14 (Page No. 582)
Discuss how performance optimizations for file systems might result in difficulties in maintaining the consistency of the systems in the event of computer crashes
Discuss how performance optimizations for file systems might resultin difficulties in maintaining the consistency of the systems in the eventof computer crashes
ajaysoni1924
183
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
115
Galvin Edition 9 Exercise 12 Question 13 (Page No. 582)
Some file systems allow disk storage to be allocated at different levels of granularity. For instance, a file system could allocate 4 KB of disk space as a single 4-KB block or as eight 512-byte blocks. How could we ... performance? What modifications would have to be made to the free-space management scheme in order to support this feature?
Some file systems allow disk storage to be allocated at different levelsof granularity. For instance, a file system could allocate 4 KB of diskspace as a single 4-KB bloc...
ajaysoni1924
277
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
116
Galvin Edition 9 Exercise 12 Question 12 (Page No. 582)
Consider a system where free space is kept in a free-space list. a. Suppose that the pointer to the free-space list is lost. Can the system reconstruct the free-space list? Explain your answer. b. Consider a file system ... currently being cached. c. Suggest a scheme to ensure that the pointer is never lost as a result of memory failure.
Consider a system where free space is kept in a free-space list.a. Suppose that the pointer to the free-space list is lost. Can thesystem reconstruct the free-space list?...
ajaysoni1924
639
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
117
Galvin Edition 9 Exercise 12 Question 11 (Page No. 582)
What are the advantages of the variant of linked allocation that uses a FAT to chain together the blocks of a file?
What are the advantages of the variant of linked allocation that uses aFAT to chain together the blocks of a file?
ajaysoni1924
254
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
118
Galvin Edition 9 Exercise 12 Question 10 (Page No. 582)
Contrast the performance of the three techniques for allocating disk blocks (contiguous, linked, and indexed) for both sequential and random file access.
Contrast the performance of the three techniques for allocating diskblocks (contiguous, linked, and indexed) for both sequential andrandom file access.
ajaysoni1924
209
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
119
Galvin Edition 9 Exercise 12 Question 9 (Page No. 582)
Consider a file system that uses a modifed contiguous-allocation scheme with support for extents. A file is a collection of extents, with each extent corresponding to a contiguous set of blocks. A key issue in such systems is the ... size and are allocated dynamically. c. Extents can be of a few fixed sizes, and these sizes are predetermined.
Consider a file system that uses a modifed contiguous-allocation scheme with support for extents. A file is a collection of extents, with each extent corresponding to a c...
ajaysoni1924
256
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
galvin
operating-system
descriptive
file-system
+
–
0
votes
0
answers
120
Galvin Edition 9 Exercise 12 Question 8 (Page No. 582)
Explain how the VFS layer allows an operating system to support multiple types of file systems easily.
Explain how the VFS layer allows an operating system to support multiple types of file systems easily.
ajaysoni1924
118
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
Page:
« prev
1
2
3
4
5
6
7
8
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register