File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 5656\begin {itemize }
5757\item This is a simplified view of the kernel tables that deal with files. It
5858is modeled after a similar picture in [Bach]. Today it is more complicated but
59- the main idea stays. See the next slide for how it may look in present time
60- systems.
59+ the main idea stays.
6160\item Each process on the system has its \emph {file descriptor table }.
62- \item Slots in that table points to the \emph {system file table }. There is
61+ \item Slots in that table point to the \emph {system file table }. There is
6362only one such a table in kernel. This table carries the opened file mode and
64- also the \emsl {current file position.}
63+ also the \emsl {current file position.} Each \texttt {open } call will create
64+ new entry in the table. However, file descriptor duplication or inheritance
65+ will lead to sharing of the slots.
6566\item From the system file table, it is pointed to the \emph {system inode
6667table }. Nowadays the table contains so called \emph {vnodes } -- \emph {virtual
6768nodes } but that is not relevant for us now. For more info, see page
You can’t perform that action at this time.
0 commit comments