Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

File Management - Information Technology - Lecture Slides, Slides of Information Technology

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

2012/2013

Uploaded on 12/31/2013

mandhata
mandhata 🇮🇳

4.5

(13)

68 documents

1 / 45

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Topic:FileManagement
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d

Partial preview of the text

Download File Management - Information Technology - Lecture Slides and more Slides Information Technology in PDF only on Docsity!

Topic

File

Management

Index

-^

Definition

of

OS

-^

File

and

related

terms

-^

Purpose

of

File

Management

-^

Operations

on

File

-^

File

Allocation

Methods

-^

File

Organization

Functions

of

OS

•^

Process

Management

•^

Memory

Management

•^

I/O

Management

•^

Secondary

Storage

Management

•^

File

Management

What

is

File

•^

A file is a collection of related informationdefined by its creator.

-^

Files represent programs (both source andobject forms) and data.

Information

structure

of

a

file

-^

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

Terms

Used

with

Files

•^

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

File

Management

•^

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.

File

Management

  • Identify and locate a selected file• Use a directory to describe the location of all

files plus their attributes

  • On a shared system describe user access

control

  • Blocking for access to files• Allocate files to free blocks• Manage free storage for available blocks.

Purpose

of

File

Management

•^

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

Minimal

Set

of

Requirements

•^

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

File

Operations

•^

Create

•^

Delete

•^

Open

•^

Close

•^

Read

•^

Write

Typical

Operations

-^

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

Typical

Operations

•^

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.

Access

Rights

•^

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