Introduction to File System Flashcards
What is a File System?
A file system is a set of structured databases that contains file and directories
What are the uses of a File system?
- To store user and system data
- Creation, deletion and modification of files
- Managing disk space
- Control access to files and directories
- Organization of files
What kind of structure does a file system have?
A hierarchical, tree-like structure where internal nodes are directory files and external nodes are non-directory files.
What are i-nodes?
Each file system in UNIX has at least one table that identifies files in it.
The entries in this table are known as i-nodes.
File attributes that I-nodes contain
- Group
- Permission allowed on the table
- Number of links
- The time of the last modification
- The size of byte of the file
- The ID of the device on which the file resides
OS (Unix) associates an i-node to
each file
What are the properties of a file system?
- Files are stored on a disk and they don’t disappear when the user logs off
- Files have name and access permission
- Files can be arranged into complex structures to show their relationship.
List file attributes and explain them
- Name (The only attribute that is readable by humans)
- Identifier (Unique number given to each file in a file system)
- Location (The location of the file in the drive)
- Size (The size of the file)
- Protection (assigns and controls read, write, and execute permissions of a file)
- Time, date and security (used for protection, security and monitoring)
What is partitioning?
Partitioning is splitting a disk into several regions so they can be used as separate disks
Why do we use partitions?
Because we don’t want to use the disk as a single unit with a single function
What are the partitioning schemes?
- Master Boot Record (MBR) scheme
- Guid Partition Table (GPT) scheme
What is firmware?
A Firmware is a software that is embedded into an electronic device to provide low-level control.
What information does MBR partitioning contain?
- The boot loader (a simple program to initiate the boot process)
- The partition table (information about your partition)
MBR partitioning
Is a partitioning scheme where the first sector of the disk contains essential data for booting up your system.
GPT partitioning
Is a partitioning scheme where all its partitions are given a globally unique identifier.