






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







z
z
z^
A named collection of information stored on secondary storage
z^
non-volatile
-^
can read, read, or update it
-^
has meta-data to describe attributes of the file
z^
name: a way to describe the file
-^
type: some information about what is stored in the file
-^
location: how to find the file on disk
-^
size: number of bytes
-^
protection: access control
may be different for read, write, execute, append, etc.
time: access, modification, creation
-^
version: how many times has the file changed
z
z
z
z
z
z
z
z
z
z
z
z
a^
b
hollings
user
user
vi^
gdb
one
to
cc
x^
y
system
users
z
z
a^
b
hollings
user
user
vi
gdb
one
to
cc
x^
y
system
users
z
Does the OS know what is stored in a file? z^
directories
-^
executables
z^
Example: word processing file vs. spreadsheet
-^
Advantages:
OS knows what application to run
-^
Automatic make (tops-20)
Problems:
to add new type, need to extend OS
-^
OS vs. application features are blurred
-^
what if a file is several types
z
z
z