File MGMT L1
File MGMT L1
File Systems
• 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:
• FAT (File Allocation Table): An older file system used by
older versions of Windows and other operating systems.
• NTFS (New Technology File System): A modern file
system used by Windows. It supports features such as file
and folder permissions, compression, and encryption.
• ext (Extended File System): A file system commonly used
on Linux and Unix-based operating systems.
• HFS (Hierarchical File System): A file system used by
macOS.
• APFS (Apple File System): A new file system introduced
by Apple for their Macs and iOS devices.
Cont..
• The advantages of using a file system include the:
• Organization: A file system allows files to be organized into directories and
subdirectories, making it easier to manage and locate files.
• Data protection: File systems often include features such as file and folder
permissions, backup and restore, and error detection and correction, to protect data
from loss or corruption.
• Improved performance: A well-designed file system can improve the
performance of reading and writing data by organizing it efficiently on disk.
• Disadvantages of using a file system include:
• Compatibility issues: Different file systems may not be compatible with each
other, making it difficult to transfer data between different operating systems.
• Disk space overhead: File systems may use some disk space to store metadata and
other overhead information, reducing the amount of space available for user data.
• Vulnerability: File systems can be vulnerable to data corruption, malware, and
other security threats, which can compromise the stability and security of the
system.
• A file is a collection of related information that is recorded on secondary storage.
Or file is a collection of logically related entities. From the user’s perspective, a
file is the smallest allotment of logical secondary storage.
Cont..
• The name of the file is divided into two parts as shown below:
• name
• extension, separated by a period.
• Files attributes and its operations:
Cont..
File Access Methods in Operating System