Ch. 4 ... Part - 5
Ch. 4 ... Part - 5
System
CH. 4 Services
BY DR. VEEJYA KUMBHAR
Ch. 4 Operating System Services
Syllabus
• Processes ✓
• Process Structure ✓
• Process Scheduling ✓
• Scheduling Algorithms ✓
• Process Synchronization & Deadlocks ✓
• Thread Management ✓
• Memory Management ✓
• System Calls ✓
• File System
File System
A file system defines how files are named, stored, and retrieved from a storage
device.
Every time you open a file on your computer or smart device, your operating system
uses its file system internally to load it from the storage device.
Or when you copy, edit, or delete a file, the file system handles it under the hood.
Whenever you download a file or access a web page over the Internet, a file system is
involved too.
Imagine a room with piles of papers scattered all over the place ➔
A storage device without a file system would be in the same situation - and it would be
a useless electronic device.
A file system isn't just a bookkeeping feature, though.
Space management, metadata, data encryption, file access control, and data integrity
are the responsibilities of the file system too.
File System in OS
A file system is a method an operating system uses to store, organize, and manage files and
directories on a storage device. Some common types of file systems include:
1.FAT (File Allocation Table): An older file system used by older versions of
Windows and other operating systems.
2.NTFS (New Technology File System): A modern file system used by Windows.
It supports features such as file and folder permissions, compression, and
encryption.
3.ext (Extended File System): A file system commonly used on Linux and Unix-
based operating systems.
4.HFS (Hierarchical File System): A file system used by macOS.
5.APFS (Apple File System): A new file system introduced by Apple for their
Macs and iOS devices.
Advantages of a File System
• Name
• Type
• Address
• Current length
• Maximum length
• Date last accessed
• Date last updated
• Owner id
• Protection information
Operation performed on directory are: