Introduction:
• Our projectis UNIX file system.
• It is a type of software that manages data files in a computer system.
• It may display file details, file name, file size, save a file and delete file
• This system makes file management simple.
4.
Operating system:
• Operatingsystem is a system software that act as interface between user and
computer hardware
• Brain of computer
• Control all components of computer
5.
What is UNIX
•UNIX is multiuser, multitasking OS that runs on a wide variety of computer
system from micro to super computer
• UNIX was developed in 1969 by Kem ThompsonAND Dennis Ritchie.
• It was written in c language.
file system:
• Whatis File System?
The abstraction used by kernel to represent and organize the storage resources.
• UNIX File System in general
File system is organized in tree structure.
File name must NOT LONGER than 256 chars.
Single path name must NOT LONGER than 1023 chars.
8.
Purpose:
• The purposeof file system project is to clarify the functionality of file.
• Basically, file management is used for file maintenance or maintenance
operations.
• File management keeps your data organized and in hierarchical form with
proper naming and directory.
• The main purpose of a file manager is to enable users to create and store
new files on a device
9.
Main Features OfProject
•Save file
•View file
•File details & size
•Clear & delete file
•Exit program
10.
•Name – onlyinformation kept in human-readable form
•Identifier – unique tag (number) identifies file within file system
•Type – needed for systems that support different types
•Location – pointer to file location on device
•Size – current file size
attributes
11.
•Protection – controlswho can do reading, writing, executing
•Time, date, and user identification – data for protection, security,
and usage monitoring
•Information about files are kept in the directory structure, which is
maintained on the disk
Attributes(cont.)
12.
/ the rootdirectory
/bin or /sbin commands for basic system
operation
/dev device entries
/etc critical startup and configuration files
Structure of File System
Directory Organization
• Thedirectory is organized logically to obtain
• Efficiency – locating a file quickly
• Naming – convenient to users
• Two users can have same name for different files
• The same file can have several different names
• Grouping – logical grouping of files by properties, (e.g., all Java
programs, all games, …)
File System Mounting
•A file system must be mounted before it can be accessed
• A unmounted file system (i.e., Fig. 11-11(b)) is mounted at
a mount point
• Kernel maintainsfile information in a structure called inode.
• Creation, modification time stamps
• Ownership, file size etc.
• Commonly used INODE information can be found by using ls
command
• Group information and be modified by using chgrp command.
INODE
23.
REQUIREMENTS
Functional requirements:
• Datainsertion
• Deletion
• Clearing data inside file
• File structure and organization
• Proper naming
Software requirements
• 512 MB RAM
• 320 GB hard disk
• Windows 7 or higher.
Project structure &functionalities:
1. Save a file
2. View file content
3. Obtain file size
4. File details
5. Clear file data
6. Delete a file
7. Exit
26.
Language &
Compiler:
• Projectis developed using C++
language.
• we have used Dev C++ compiler for
coding which is based on command
line interface.
Insertion:
• There is no pre-defined insertion in
program
• Program gets data from user on
run time.