1.1 --- a/docs/wiki/Components Sun Aug 29 19:48:42 2021 +0200
1.2 +++ b/docs/wiki/Components Sun Aug 29 23:51:48 2021 +0200
1.3 @@ -13,6 +13,11 @@
1.4 document are described using excerpts from the appropriate interface
1.5 descriptions.
1.6
1.7 +== Overview ==
1.8 +
1.9 +An overview of the component interactions involved in opening a file is
1.10 +provided by the diagram below.
1.11 +
1.12 ######## A graph showing the interactions between components
1.13
1.14 {{{#!graphviz
1.15 @@ -74,6 +79,16 @@
1.16
1.17 ########
1.18
1.19 +In pseudocode, the operations as conducted by the client program are as
1.20 +follows:
1.21 +
1.22 +{{{
1.23 +opener = filesystem.open_for_user(user)
1.24 +context = opener.context()
1.25 +context.write("filename") # this being a memory access operation
1.26 +file = context.open(flags, ...)
1.27 +}}}
1.28 +
1.29 == Filesystems ==
1.30
1.31 Filesystems implement the `Filesystem` interface which provides the