Summary· Ask yourself:- Storage Device = Fs?-Correct answer:Storage Device+FS·AFS must be stored on a device.- But, a device may or may not contain any FS.-SomestoragedevicescanhostmorethanoneFS: A storage device is only a dummy container.- It doesn't know and doesn't need to know whatFS-es are stored inside it. The Os instructs the storage device how the datashould be stored.11
Summary 11 • Ask yourself: – Storage Device = FS? – Correct answer: Storage Device FS. • A FS must be stored on a device. – But, a device may or may not contain any FS. – Some storage devices can host more than one FS. • A storage device is only a dummy container. – It doesn’t know and doesn’t need to know what FS-es are stored inside it. – The OS instructs the storage device how the data should be stored
Outlineoftopics. There are two basic things that arestored inside a storage device, and arecommon to all existing file systemsWhat are they?- They are Files and Directories- We will learn what they are and somebasic operations of them.12
Outline of topics 12 • There are two basic things that are stored inside a storage device, and are common to all existing file systems. What are they? – They are Files and Directories. – We will learn what they are and some basic operations of them
Outlineoftopics. There are two basic things that arestored inside a storage device, and arecommon to all existing file systemsHow does a Fsstore datainto the disk? That is, the layout of file systems.- The layout affects many things:: The speed in operating on the file systems;. The reliability in using the file systems;: The allocation and de-allocation of disk spaces.13
Outline of topics 13 • There are two basic things that are stored inside a storage device, and are common to all existing file systems. How does a FS store data into the disk? – That is, the layout of file systems. – The layout affects many things: • The speed in operating on the file systems; • The reliability in using the file systems; • The allocation and de-allocation of disk spaces
Outlineoftopics: Other topics- We will look into the details of FAT32 andExt2/3filesystems- Case studies: key-value systems, distributedfile systems, graph storage systems14
Outline of topics 14 • Other topics – We will look into the details of FAT32 and Ext2/3 file systems. – Case studies: key-value systems, distributed file systems, graph storage systems
Part1: FS - Programmer Perspective- File- Directory-Operations15
15 Part1: FS – Programmer Perspective - File - Directory - Operations