EECS 1012 Lecture 9: EECS 1012 Lecture 9 Notes

22 views2 pages
EECS 1012 Lecture 9 Notes
Introduction
Individual user
An individual user can even create multiple paths to a file, if so desired.
This capability could be useful if the file is associated with two different directories, and
the user would like to place it as an entry in both for more convenient access.
One difficulty with implementation of an acyclic-graph directory is assuring that the links
do not connect in such a way that it is possible to cycle through a path more than once
when tracing out the path to a file.
The links between current and projects and between projects and im woman complete
a cycle.
Thus, the file name PROJ1.TXT can be reached by an infinite number of paths, including
IMWOMAN/CURRENT/PROJECTS/2008/PROJ1.TXT
IMWOMAN/CURRENT/PROJECTS/IMWOMAN/CURRENT/ PROJECTS/2008/PROJ1.TXT
IMWOMAN/CURRENT/PROJECTS/IMWOMAN/CURRENT/
PROJECTS/IMWOMAN/CURRENT/PROJECTS/ and so on.
This is obviously an unsatisfactory situation.
When the file system is searching for files, it will encounter an infinite number of paths
that it believes must be checked.
The system must assure that the addition of a link does not create a cycle.
An additional difficulty is establishing a policy for the deletion of files that have multiple
links.
Removing a file without removing the links leaves dangling links, links that point to
nowhere.
It is also possible on some systems to remove all links to the file, leaving file space that
a’t e relaied y the syste.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in
ammarmarta2020 and 40175 others unlocked
EECS 1012 Full Course Notes
10
EECS 1012 Full Course Notes
Verified Note
10 documents

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents