Week 8 Flashcards
File system
Abstract layer above secondary storage that allows users to interact with the file system.
File Attributes
Name, Identifier, Type
Os enforced vs program enforced vs none
OS enforces program to declare in a specific manner, up to program to know what kind of file it is, None is up to OS to figure it out.
Directories
Organization of the partitions. Directories will map to physical files.
Single level directories
Organization difficult with small disks, no concept of user
Two level directories
Top level directory, second level is user files and one directory for system commands.
Tree structure
Unix. Long path names that you have to go down the tree to find.
Acyclic files
Shared subdirectories and files. Meaning there’s more than one path/name to a given file. Files can be shared, directories cant
Solid state disks
Persisten/flash memory. Faster and more expensive.
Spinning disk
Layers of platters stacked. Goes over tracks with magnetism.
Legacy MBR
Early windows and unix, 512 block for master boot record and rest is 4 partitions
Master Boot Record
Partition table and Boot code stored in the same block. Enough bytes to find OS and load kernel. Cannot run two systems at the same time, will dump core. Partitions have codes.
GUID
Protective MBR - Protects from legacy systems. GPT header points to partition table. Partition table - 31 blocks per system. Secondary GPT - backup. EFI Boot files and other information for different systems. PCB