Unit 9 : File Management Flashcards
What does File Management refers to in OS?
- Refers to the set of processes and techniques involved in creating, organization, accessing, manipulating, and controlling files stored on storage devices, such as hard drives, solid-state drives or network storage
List out the Objectives of File Management ( 10 )
- File Backup
- File Encryption
- File Retrieval
- Data Sharing
- File Compression
- Space Management
- File Auditing
- File Versioning
- Data Security
- File Organizaion
What is the advantage of File Management? ( 6 )
- Improved Organization
- Data Security
- Data Sharing
- Backup and Recovery
- Compression
- Versioning
How does sequential stores file inside storage sevice?
- In a sequential manner
- Each file occupies a contiguous block of storage space
How to access the data in Sequential method?
- Requires reading from the beginning until the desired location is reached
What is the disadvantage for Sequential File Managing method?
- Simple but can be inefficient for random access operations
List out all the File Managing methods ( 6 )
- Sequential
- Index
- Direct
- FAT ( File Allocation Table )
- NFTS ( New Technology File System )
- Distributed
How does Indexed File Managing Method manages file?
- Ultilizes and index structure to improve file access efficiency
What is created alongside when using the Indexed File Managing Method? ( 2 )
- Main Data File
- Pointers to Various location within the file
What does pointer in indexed file managing method do?
- Allow for quick navigation and direct access to specific data within the file
What file management method is known for random access file management?
- Direct
- It enables direct access to any part ( without the need to traverse the entire file sequentially )
How does direct file managing system ultilizes to keep track of the file locations?
- Uses FAT or similar data structure to keep track of file locations
What is the advantages of direct file managing system?
- Allows for faster and more efficient file access, particularly for larger files
What file managing system is commonly used in various OS?
1.FAT ( File Allocation Table )
How does FAT allocate file location?
- Employs a table, know as the FAT to track the allocation status of each cluster on a storage device
What does FAT supports
1.Sequential and random access to files
Which file managing systems provides a simple and reliable file management structure?
- FAT
What file managing system provides enhanced security, file compression, file encryption and suport for larger file sizes and volumes?
- NFTS ( New Technology File System )
- It uses a complex structure to manage files effiently
What file managing system provides advanced file management capabilities?
- NFTS ( New Technology File System )
What file managing system allows file to be stored accross multiple networked devices or servers?
- Distributed
- Provide transparent access to files from different locations
What are the protocol used in file sharing in distributed file sharing system?
- Network File System ( NFS )
- Server Message Block ( SMB )
List out the examples of File Management System (
- Windows Explorer in Windows OS
- Finder on MacOS
- File Manager in Linux ( Nautilus, Dolphin )
- Network-Attached Storage ( NAS )
- Content Management System ( CMS )
- Source Code Management Systems ( Git )
- Database Management Systems
What does NAS do?
- Systems specialized file management systems that store & manage files on network, allowing multiple users to access and edit files simultaneously.
What does Cloud-based file storage services provides?
- Provide a file management system that allows users to store and manage files in the cloud, allowing access from multiple devices and collaboration with other users.
How does File Manager allocates file?
- Reading it from hard disk and loading it into memory ( while updating its record who is using that file )
How does File Manager deallocates file?
- By updating file tables and rewriting the file ( if changed ) to the hard disk
What does Field mean in File Manager?
- Collection of bytes that can be identified by a user, and has type and size
What does Record mean in File Manager?
- Collection of related Fields
What does File mean in File Manager?
- Collection of records
What does Directory / Folder mean in File Manager?
- Special type of file that has lists of files and their attributes
List out the 2 parts of a file, 3 parts for full filename
- Filename
- Extension
backup( filename ).bat ( extension )
- Path
- Filename
- Extension
C:\WINDOWS\system32\backup.bat
What does Access Control Matrix shows?
- The access that each user has for each file on the system
List out all the possible accesses in Access Control Matrix ( 4 )
- R - Read
- W - Write
- E - Execute
- D - Delete
How does Linux uses the access control matrix?
- It assigns to one of three groups
- User
- User Group
- World
-rwx( User ) rwx ( User Group ) rwx ( World )