KEMBAR78
detailed explanation on unix file system | PPT
UNIX FILE SYSTEM
SEMESTER PROJECT
Group Members
GROUP MEMBERS
Introduction:
• Our project is 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.
Operating system:
• Operating system is a system software that act as interface between user and
computer hardware
• Brain of computer
• Control all components of computer
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.
Unix structure
file system:
• What is 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.
Purpose:
• The purpose of 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
Main Features Of Project
•Save file
•View file
•File details & size
•Clear & delete file
•Exit program
•Name – only information 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
•Protection – controls who 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.)
/ the root directory
/bin or /sbin commands for basic system
operation
/dev device entries
/etc critical startup and configuration files
Structure of File System
Cont……..
structure of File System(cont…)
Directory Structure
Directory
Files
Both the directory structure and the files reside on disk
F 1 F 2
F 3
F 4
F n
Directory Organization
• The directory 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, …)
Tree-Structured
Directories
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
Cont…..
mount point
• Kernel maintains file 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
REQUIREMENTS
Functional requirements:
• Data insertion
• 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:
PROJECT COMPRISES OF 7 FUNCTIONS CONNECTED TO EACH OTHER AND
WORKING TOGETHER.
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
Language &
Compiler:
• Project is 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.
THANK YOU

detailed explanation on unix file system

  • 1.
  • 2.
  • 3.
    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.
  • 6.
  • 7.
    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
  • 13.
  • 14.
    structure of FileSystem(cont…)
  • 15.
    Directory Structure Directory Files Both thedirectory structure and the files reside on disk F 1 F 2 F 3 F 4 F n
  • 17.
    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, …)
  • 18.
  • 19.
    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
  • 20.
  • 21.
  • 22.
    • 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.
  • 24.
    Project structure & functionalities: PROJECTCOMPRISES OF 7 FUNCTIONS CONNECTED TO EACH OTHER AND WORKING TOGETHER.
  • 25.
    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.
  • 27.