This document provides an in-depth examination of file system implementation, covering essential concepts including long-term information storage, file types, and directory structures. We explore file naming conventions, access methods like sequential and random access, and various file attributes and operations. The analysis further delves into memory-mapped files, disk space management strategies, and file system reliability. Additionally, it discusses specific file systems such as MS-DOS, Windows 98, and UNIX to illustrate differences in design and functionality.
01 / 70Comprehensive Overview of File Systems: Structure, Access, and Management
1 / 17
Télécharger la présentation
Comprehensive Overview of File Systems: Structure, Access, and Management
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
File Systems Files Directories File system implementation Example file systems
Long-term Information Storage • Must store large amounts of data • Information stored must survive the termination of the process using it • Multiple processes must be able to access the information concurrently
File Access • Sequential access • read all bytes/records from the beginning • cannot jump around, could rewind or back up • convenient when medium was mag tape • Random access • bytes/records read in any order • essential for data base systems • read can be … • move file marker (seek), then read or … • read and then move file marker
Memory-Mapped Files (a) Segmented process before mapping files into its address space (b) Process after mapping existing file abc into one segment creating new segment for xyz
Implementing Directories (1) (a) A simple directory fixed size entries disk addresses and attributes in directory entry (b) Directory in which each entry just refers to an i-node
Shared Files (2) (a) Situation prior to linking (b) After the link is created (c)After the original owner removes the file
Disk Space Management (1) • Dark line (left hand scale) gives data rate of a disk • Dotted line (right hand scale) gives disk space efficiency • All files 2KB Block size
Disk Space Management (3) (a) Almost-full block of pointers to free disk blocks in RAM - three blocks of pointers on disk (b) Result of freeing a 3-block file (c) Alternative strategy for handling 3 free blocks - shaded entries are pointers to free disk blocks
File System Reliability (1) • A file system to be dumped • squares are directories, circles are files • shaded items, modified since last dump • each directory & file labeled by i-node number File that has not changed
File System Performance (2) • I-nodes placed at the start of the disk • Disk divided into cylinder groups • each with its own blocks and i-nodes
Log-Structured File Systems • With CPUs faster, memory larger • disk caches can also be larger • increasing number of read requests can come from cache • thus, most disk accesses will be writes • LFS Strategy structures entire disk as a log • have all writes initially buffered in memory • periodically write these to the end of the disk log • when file opened, locate i-node, then find blocks
File system? metoda penyimpanan file pada komputer atau media penyimpanan komputer dalam mengatur lokasi file tersebut. File System adalah struktur logika yang digunakan untuk mengendalikan akses terhadap data yang ada pada disk. File System memiliki dua bagian:- Kumpulan file yang masing-masingnya menyimpan data-data yang berhubungan.-Struktur direktori yang mengorganisasi dan menyediakan informasi mengenai seluruh file dalam sistem.
Fungsi File System salah satunya untuk memberi nama pada berkas dan meletakkannya pada media penyimpanan. Fungsi lainnya adalah sebagai konvensi penamaan berkas dan peletakkan berkas pada struktur direktori. Semua sistem operasi memiliki File Systemnya sendiri untuk meletakkan file dalam sebuah struktur hirarki
File system merupakan interface yang menghubungkan sistem operasi dengan disk. Ketika program menginginkan pembacaan dari harddisk atau media penyimpanan lainnya, sistem operasi akan meminta file system untuk membuka file yang diminta tersebut. File system akan mencari lokasi dari file yang diinginkan. Setelah file itu ditemukan, file system akan membaca file tersebut kemudian mengirimkan informasinya kepada sistem operasi dan akhirnya bisa dibaca oleh kita.
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.