EECS 1012 Lecture Notes - Lecture 8: Working Directory

14 views2 pages
EECS 1012 Lecture 8 Notes
Introduction
Acyclic-Graph Directories
The acyclic-graph directory is a generalization of a tree-structure directory, expanded to
include links between separate branch structures on the tree.
The links appear in the directory structure as though they were ordinary file or directory
entries.
In actuality, they serve as pseudonyms for the original file name.
The link provides an alternative path to a directory or file.
In this diagram there are two links, shown in heavy print.
There is a link between the directory CURRENT, belonging to user im woman, and the
directory 2008, and belonging to user the boss.
This makes all the files in directory 2008 available to im woman.
There is also a link between directory MYSTUFF, belonging to user jgood guy, and the
file PROJ1.TXT.
Apparently, jgood guy is working only on this one project.
The file PROJ1.TXT can be accessed by the boss from her current directory by using the
pathname
PROJECTS/2008/PROJ1.TXT.
jgood guy can access the same file using pathname MYSTUFF/PROJ1.TXT. im woman
uses pathname
CURRENT/2008/PROJ1.TXT to reach the file.
Note that it is also possible for im woman to change her current directory to 2008 as a
result of the link.
The ability to add links between branch structures in a tree makes it possible to create
multiple paths, and pathnames, that lead to a single directory or file.
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