From 29ed4d593f36cbc24aa20a1d8d11893fd0926ca9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Oct 1999 18:59:37 +0000 Subject: Added lifecycle chapter. --- doc/filesystem/Makefile | 11 ++++++++--- doc/filesystem/filesystem.texi | 2 ++ doc/filesystem/lifecycle.t | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 doc/filesystem/lifecycle.t (limited to 'doc/filesystem') diff --git a/doc/filesystem/Makefile b/doc/filesystem/Makefile index 4f112b1609..217bf95066 100644 --- a/doc/filesystem/Makefile +++ b/doc/filesystem/Makefile @@ -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 diff --git a/doc/filesystem/filesystem.texi b/doc/filesystem/filesystem.texi index b35898a8ea..34a95a3999 100644 --- a/doc/filesystem/filesystem.texi +++ b/doc/filesystem/filesystem.texi @@ -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 diff --git a/doc/filesystem/lifecycle.t b/doc/filesystem/lifecycle.t new file mode 100644 index 0000000000..58c933f005 --- /dev/null +++ b/doc/filesystem/lifecycle.t @@ -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 + -- cgit v1.2.3