Table of Contents

File Systems



Definition



Two Views of the File System





Logical View of a File System


a)
commands: create, delete, open, close, read, write, append, seek
b)
names for files: main.c , file.bak

c)
structure of the file system
i)
flat directory (one directory)
ii)
two-level directory
iii)
tree-structured directory (hierarchial directory)

iv)
acyclic graph directory structure (no cycles)

So, what happens when you use cd .. command?



Types of Linking

a)
symbolic linking

b)
hard link

Access Control (File Protection)

Some Privileges

Example Access Matrix

Other Privileges from S & G

Capability List

/fred/mail /fred/prog /fred/prog.c
fred

/fred/mail /sam/loveletter /fred/prog
sam

/fred/mail /fred/prog
kelly

/fred/mail /sam/loveletter /fred/prog.c
marg

Access List

fred sam kelly marg
/fred/mail

sam marg
/sam/loveletter

fred sam kelly
/fred/prog

fred marg
/fred/prog.c

In UNIX:

me mygroup others
file


Return to Contents