Chapter 3 File - Management - System
Chapter 3 File - Management - System
FileManagementSystem
Introduction
• A File Management System(FMS) helpsorganize
and manage files. • Just like a filing cabinet, it
storesdigital filesefficiently.
• Example: A library where books
(files)areorganized on shelves (folders).
Componentsof FMS
• File Structure: Directories
andsubdirectoriesorganize files.
• Naming Conventions: Meaningful
filenamesimprove clarity.
• Metadata: Information about
files(size,date,owner).
• Storage Allocation: Contiguous,
Linked,Indexed allocation.
File Operations
• Create/Delete: Add or removefiles. •
Open/Close: Access files for use. • Read/Write:
Viewor modify files. • Permissions: Control access
levels(Read,Write,Execute).
File SystemArchitecture
• Logical System: User-facing
interface(folders,files).
• Physical System: Howfiles arestoredonadisk.•
Examples: FAT, NTFS (Windows),
EXT(Linux),HDFS (Big Data).
File Access Methods
• Sequential Access: Read fromstart toend(likea
tape recorder).
• Direct Access: Jump to any part
(likeavideoplayer).
• Indexed Access: Uses a tablefor
fastretrieval(like a book index).
File Protection&Security
• Authentication: Login systemfor
userverification.
• Encryption: Scrambles files for security.• Backup
& Recovery: Save copies topreventdata loss.
File SystemsinOS
• Windows: Uses NTFS, manages
filesviaFileExplorer.
• Linux: Uses EXT, files
accessedviacommands.• Cloud Storage:
Google Drive, Dropboxallowonline file access.
filetype
A file type refers to the format or natureof thecontent
stored in a file. It defines howdataisstored,interpreted,
and handled by the operatingsystemorapplications.
In file management, identifying
filetypeshelpsin:✔Choosing the right application
toopenit✔Organizing files effectively ✔ Managing
storage and backups
types of Files
inFileManagement1. Text Files (.txt, .csv,
.log)
Stores data in readable text format. Used for simple
notes, logs, and structureddatalikeCSV.2. Binary Files
(.bin, .exe, .dat)
Stores data in binary (non-readable) format. Includes
programs, game files, or compiledcode. 3. Document Files
(.docx, .pdf, .pptx, .xls) Created using applications like
Microsoft Word, PowerPoint,or Excel.
Used for reports, presentations, spreadsheets, etc.
4. Media Files
▪ Image Files: .jpg, .png, .gif
▪ Audio Files: .mp3, .wav, .aac ▪ Video Files: .mp4,
.avi, .mkv Used to store multimedia content.
5. Executable Files (.exe, .bat, .sh)
Run programs or scripts.
Used to install or execute software.
6. Compressed Files (.zip, .rar, .7z)
Contain one or more files in compressed form. Save storage
space and support easier file sharing. 7. System Files (.dll, .sys,
.ini)
Used by the operating system for internal processes. Often hidden
to prevent accidental modification.
Conclusion
• A File Management
Systemorganizesandprotects files.
• Different file systems impact
performanceandsecurity.
• Cloud and modern systems
improveefficiencyand accessibility.