Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged file-system
0
0 votes
0
0 answers
631
631 views
Galvin Edition 9 Exercise 11 Question 11 (Page No. 540)
What are the advantages and disadvantages of providing mandatorylocks instead of advisory locks whose use is left to users’ discretion?
ajaysoni1924
631
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
518
518 views
Galvin Edition 9 Exercise 11 Question 10 (Page No. 540)
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
518
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
663
663 views
Galvin Edition 9 Exercise 11 Question 9 (Page No. 540)
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
663
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
484
484 views
Galvin Edition 9 Exercise 11 Question 8 (Page No. 539)
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
484
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
468
468 views
Galvin Edition 9 Exercise 11 Question 7 (Page No. 539)
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
468
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
389
389 views
Galvin Edition 9 Exercise 11 Question 6 (Page No. 539)
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
389
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
270
270 views
Galvin Edition 9 Exercise 11 Question 5 (Page No. 539)
Explain the purpose of the open() and close() operations.
ajaysoni1924
270
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
413
413 views
Galvin Edition 9 Exercise 11 Question 4 (Page No. 539)
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
413
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
324
324 views
Galvin Edition 9 Exercise 11 Question 2 (Page No. 539)
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”?3- ...
ajaysoni1924
324
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
0 votes
0
0 answers
377
377 views
Galvin Edition 9 Exercise 11 Question 1 (Page No. 539)
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
377
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
0 votes
0
0 answers
414
414 views
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.
ajaysoni1924
414
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
0 votes
0
0 answers
530
530 views
Galvin Edition 9 Exercise 12 Question 18 (Page No. 583)
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
530
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
0 votes
0
0 answers
554
554 views
Galvin Edition 9 Exercise 12 Question 17 (Page No. 582)
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
554
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
582
582 views
Galvin Edition 9 Exercise 12 Question 16 (Page No. 583)
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
582
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
0
0 votes
0
0 answers
857
857 views
Galvin Edition 9 Exercise 12 Question 15 (Page No. 583)
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
857
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
0
0 votes
0
0 answers
352
352 views
Galvin Edition 9 Exercise 12 Question 14 (Page No. 582)
Discuss how performance optimizations for file systems might resultin difficulties in maintaining the consistency of the systems in the eventof computer crashes
ajaysoni1924
352
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
494
494 views
Galvin Edition 9 Exercise 12 Question 13 (Page No. 582)
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
494
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
0 votes
0
0 answers
849
849 views
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 thesystem reconstruct the free-space list?...
ajaysoni1924
849
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
387
387 views
Galvin Edition 9 Exercise 12 Question 11 (Page No. 582)
What are the advantages of the variant of linked allocation that uses aFAT to chain together the blocks of a file?
ajaysoni1924
387
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
361
361 views
Galvin Edition 9 Exercise 12 Question 10 (Page No. 582)
Contrast the performance of the three techniques for allocating diskblocks (contiguous, linked, and indexed) for both sequential andrandom file access.
ajaysoni1924
361
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
430
430 views
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 c...
ajaysoni1924
430
views
asked
Mar 22, 2019
Operating System
galvin
operating-system
descriptive
file-system
+
–
0
0 votes
0
0 answers
240
240 views
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.
ajaysoni1924
240
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
247
247 views
Galvin Edition 9 Exercise 12 Question 7 (Page No. 582)
Why is it advantageous to the user for an operating system to dynamicallyallocate its internal tables? What are the penalties to the operatingsystem for doing so?
ajaysoni1924
247
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
299
299 views
Galvin Edition 9 Exercise 12 Question 6 (Page No. 582)
How do caches help improve performance? Why do systems not usemore or larger caches if they are so useful?
ajaysoni1924
299
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
0 votes
0
0 answers
464
464 views
Galvin Edition 9 Exercise 12 Question 5 (Page No. 581)
One problem with contiguous allocation is that the user must preallocateenough space for each file. If the file grows to be larger than thespace allocated for it, special...
ajaysoni1924
464
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
0
0 votes
0
0 answers
383
383 views
Galvin Edition 9 Exercise 12 Question 4 (Page No. 581)
Consider a system that supports the strategies of contiguous, linked,and indexed allocation. What criteria should be used in deciding whichstrategy is best utilized for a...
ajaysoni1924
383
views
asked
Mar 22, 2019
Operating System
galvin
operating-system
file-system
+
–
0
0 votes
0
0 answers
280
280 views
Galvin Edition 9 Exercise 12 Question 3 (Page No. 581)
Why must the bit map for file allocation be kept on mass storage, ratherthan in main memory?
ajaysoni1924
280
views
asked
Mar 22, 2019
Operating System
galvin
operating-system
file-system
+
–
0
0 votes
0
0 answers
413
413 views
Galvin Edition 9 Exercise 12 Question 2 (Page No. 581)
What problems could occur if a system allowed a file system to bemounted simultaneously at more than one location?
ajaysoni1924
413
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
1
1 vote
0
0 answers
666
666 views
Galvin Edition 9 Exercise 12 Question 1 (Page No. 581)
Consider a file currently consisting of 100 blocks. Assume that the filecontrolblock (and the index block, in the case of indexed allocation)is already in memory. Calcula...
ajaysoni1924
666
views
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
+
–
40
40 votes
6
answers
6 answers
36.6k
36.6k views
GATE CSE 2019 | Question: 42
The index node (inode) of a Unix -like file system has $12$ direct, one single-indirect and one double-indirect pointers. The disk block size is $4$ kB, and the disk bloc...
Arjun
36.6k
views
asked
Feb 7, 2019
Operating System
gatecse-2019
numerical-answers
operating-system
file-system
two-marks
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
next »