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?
(Operating System , CSE)
If the old file is deleted and new file is created , the case that "its disk space reclaimed while links to that file still exist" in this case the problem raised is if we want to access the new file but it actually accesses the old file the reason is that the new file thus created is in the same storage space of old file and the link of old file still exists.
This problem can be avoided by collecting links of all the files present and remove that particular link when the file is deleted.
Get Answers For Free
Most questions answered within 1 hours.