Skip to main content
Contents
Dark Mode Prev Up Next Profile
\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 5.4 File System Implementation: vsfs
We now start looking at how a file system is organized on a disk. Start by reading the
Files System Implementation chapter, sections 40.1 and 40.2, and the preamble. These introduce the basic structure of a simple file system and discuss the key aspects of it.
Practice 5.4.1 .
Match the following terms to their meaning.
We segment the total disk space into these pieces
block
The portion of the disk allocated to user information rather than system management.
data region
Metadata information about a particular "file".
inode
A linear set of bytes where each bit represents the status of a particular item in a list of items.
bitmap
A section at the beginning of the disk that holds information about the filesystem itself.
superblock
Practice 5.4.2 .
Read section 40.3 about the inode structure.
Practice 5.4.3 .
Which of the following is information that we can find in an inode?
The permissions on the file.
The name of the user who owns the file.
How many disk blocks the file takes.
Where on disk the file contents reside.
Which directory the file is in.
A pointer to the next inode on the list.
Practice 5.4.4 .
What is the purpose of the multi-level index?
To allow the storage of large files that occupy too many blocks on disk.
To allow faster access to the file contents.
To have one inode store information about multiple files.
Read section 40.4 about how directories are organized.
Practice 5.4.5 .
Practice 5.4.6 .
True or False: The contents of a directory are stored in its inode.
True.
False.
Read sections 40.5, 40.6.
Practice 5.4.7 .
Practice 5.4.8 .
Skim through sections 40.7, 40.8.
You have attempted
of
activities on this page.