Added lifecycle chapter.

This commit is contained in:
Joel Sherrill
1999-10-08 18:59:37 +00:00
parent ee6284c7f3
commit 29ed4d593f
3 changed files with 45 additions and 3 deletions

View File

@@ -22,18 +22,18 @@ dirs:
COMMON_FILES=../common/cpright.texi ../common/setup.texi
GENERATED_FILES=basefs.texi applayering.texi patheval.texi \
init.texi mounting.texi
init.texi mounting.texi lifecycle.texi
FILES= $(PROJECT).texi \
preface.texi $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
info: dirs networking
info: dirs $(PROJECT)
#cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
networking: $(FILES)
$(PROJECT): $(FILES)
$(MAKEINFO) $(PROJECT).texi
dvi: dirs $(PROJECT).dvi
@@ -77,6 +77,11 @@ mounting.texi: mounting.t Makefile
-u "Top" \
-n "" ${*}.t
lifecycle.texi: lifecycle.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
# rm -f $(WWW_INSTALL)/$(PROJECT)/networkflow.jpg

View File

@@ -68,6 +68,7 @@ END-INFO-DIR-ENTRY
@include patheval.texi
@include init.texi
@include mounting.texi
@include lifecycle.texi
@ifinfo
@node Top, Preface, (dir), (dir)
@top filesystem
@@ -81,6 +82,7 @@ This is the online version of the RTEMS Filesystem Design Guide.
* Pathname Evaluation::
* System Initialization::
* Mounting and Unmounting File Systems::
* File System Lifecycle::
* Command and Variable Index::
* Concept Index::
@end menu

View File

@@ -0,0 +1,35 @@
@c
@c COPYRIGHT (c) 1988-1998.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
@chapter File System Lifecycle
This chapter describes some of the dynamic behavior of file system control
structures
@section Mount table chain
The mount table chain is a dynamic list of structures that describe
mounted file systems a specific points in the file system hierarchy. It is
initialized to an empty state during the base file system initialization.
The mount operation will add entries to the mount table chain. The
un-mount operation will remove entries from the mount table chain.
@section Memory associated with the In Memory File System
A memory based file system draws its resources for files and directories
from the memory resources of the system. When it is time to un-mount the
file system, the memory resources that supported file system are set free.
In order to free these resources, a recursive walk of the file systems
tree structure will be performed. As the leaf nodes under the file system
are encountered their resources are freed. When directories are made empty
by this process, their resources are freed.
@section File descriptor table entries and file control blocks
The file: XXX