summaryrefslogtreecommitdiffstats
path: root/doc/filesystem/fsrequirements.t
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 20:41:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-12 20:41:30 +0000
commita0e265bff462fb7605b9b50c8ebc84da36c0f700 (patch)
tree480b3b3f18c11f287ffb38bdabdde02978c36078 /doc/filesystem/fsrequirements.t
parenta6883c4eb931cdca4b9d07ee054ae4ad54dbdf76 (diff)
downloadrtems-a0e265bff462fb7605b9b50c8ebc84da36c0f700.tar.bz2
New file.
Diffstat (limited to 'doc/filesystem/fsrequirements.t')
-rw-r--r--doc/filesystem/fsrequirements.t34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/filesystem/fsrequirements.t b/doc/filesystem/fsrequirements.t
new file mode 100644
index 0000000000..32e06e627a
--- /dev/null
+++ b/doc/filesystem/fsrequirements.t
@@ -0,0 +1,34 @@
+@c
+@c COPYRIGHT (c) 1988-1998.
+@c On-Line Applications Research Corporation (OAR).
+@c All rights reserved.
+@c
+@c $Id$
+@c
+
+
+@chapter Filesystem Requirements
+
+This chapter details the behavioral requirements that all filesystem
+implementations must adhere to.
+
+@section Filesystem File and Directory Removal Constraints
+
+The following POSIX constraints must be honored by all filesystems.
+
+@itemize @bullet
+
+@item If a node is a directory with children it cannot be removed.
+
+@item The root node of any filesystem, whether the base filesystem or a
+mounted filesystem, cannot be removed.
+
+@item A node that is a directory that is acting as the mount point of a file
+system cannot be removed.
+
+@item On filesystems supporting hard links, a link count is maintained.
+Prior to node removal, the node's link count is decremented by one. The
+link count must be less than one to allow for removal of the node.
+
+@end itemize
+