This document discusses file concepts and directory structures. It defines a file as a collection of related records or information that has attributes like name, size, and user. Files can be created, read, written to, and deleted. Directories contain records of file information and are used to organize files in storage systems according to different structures like single level, two level, and acyclic graph directories. Directories allow operations like searching, creating, deleting, listing, and renaming files.
1. Aishwarya college of education, pali
affiliated by
Jay narayan vyas university, jodhpur
Topic:-
FILE CONCEPT & DIRECTORY
Presented By:-
Apurva Rakecha
B.C.A.IInd Year
2. File concept
What is file?
File is defined as a collection of record or related information.
File is a non voletile
Attribute of file:
A file has various attributes like:
Name,Idientifier,Size,User,Information etc
Operation of file:
Create
Read
Write
Delete
3. Every operating system have to follow a standard for store
and manage the data on disk, so that all files are easily managed
on disk. This standard is a method for partition and organising
files on system which is called file management or file system.
NTFS is the most popular file system on today’s date.
4. Directory Structure
The information about files are kept in file system, this information is kept as entry
in device directory.
Directory contains record information about files.
There are following directory structure available for organizing all the files
1. Single level directory
2. Two level directory
3. Acyclic graph directory
5. The simplest directory structure is the single level directory.
All files are contained in the same directory.
Diagram:-
jan. Feb. Mar. Apr. May. Jun. July
6. 2. Two level directory:-
In the two level directory structure every user has her own user file
directory.
Diagram:-
3.Acyclic graph directory:-
A directory structure which allow sharing of subdirectories &
files is known as acyclic graph directory.
7. Operations performed on a directory
Search
Create
file
Delete
file
List
directory
Rename file