





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This lecture is part of lecture series on Information Technology course. This lecture includes: File Management, Operating System, Functions of Os, What is File, Naming Convention, Information Structure of a File, Purpose, Minimal Set of Requirements, File Operations, Typical Operations, Access Rights, Allocation Methods, File Organization, File Sharing
Typology: Slides
1 / 45
This page cannot be seen from the preview
Don't miss anything!
-^
-^
-^
-^
-^
-^
Process
Management
Memory
Management
Management
Secondary
Storage
Management
File
Management
A file is a collection of related informationdefined by its creator.
-^
Files represent programs (both source andobject forms) and data.
-^
the
fi
le’s
type
(plain
fi
le,
directory,
etc),
the
fi
le’s
size,
in
bytes
and/or
blocks,
any
limits
set
on
the
fi
le’s
size,
the
primary
owner
of
the
fi
le,
information
about
other
potential
users
of
this
fi
le,
access
constraints
on
the
owner
and
other
users,
dates
and
times
of
creation,
last
access
and
last
modi
fi
cation,
dates
and
times
of
last
backup
and
recovery,
and
event
triggers
when
the
fi
le
changes
Field^ –
Basic
element
of
data
Contains
a
single
value
Characterized
by
its
length
and
data
type
Record^ –
Collection
of
related
fields
Treated
as
a
unit
-^
Example:
employee
record
The operating system is responsible for thefollowing activities in connections with filemanagement:^ ⎯
File creation and deletion. ⎯^
Directory creation and deletion. ⎯^
Support
for
manipulating
files
and
directories. ⎯^
Mapping files onto secondary storage. ⎯^
File backup on stable (nonvolatile) storagemedia.
files plus their attributes
control
provide simple and fast algorithms to read andwrite files
-^
give and deny access rights on files to usersand programs
-^
allocate and deallocate files to processes
-^
provide
users
and
programs
with
simple
commands for file handling
Each user should be able to create, delete,read, write and modify files
-^
Each user may have controlled access to otherusers’ files
-^
Each user may control what type of accessesare allowed to the users’ files
-^
Each user should be able to restructure theuser’s files
-^
Retrieve_All
: Retrieve all the records of a file.
This operation will be required for an applicationthat must process all the information in the file atone time.
-^
Retrieve_One
:^
This
operation
requires
the
retrieval
of
just
a^
single
record.
Interactive,
transaction
‐oriented
applications
need
this
operation
-^
Retrieve_Next
:^
This
operation
requires
the
retrieval of the record that is “next” in somelogical sequence to the most recently receivedrecord. for example : filling in forms
Update_One :
Retrieve a record, update one
or more of its fields, and rewrite updatedrecord back into the file.
-^
Retrieve_Few :
Retrieve a number of records.
For
example,
an
application
may
wish
to
retrieve all records that satisfy a certain set ofcriteria.
None^ –
User may not know of the existence of thefile
User
is
not
allowed
to
read
the
user
directory that includes the file
Knowledge^ –
User can only determine that the file existsand who its owner is