Page 124 - slides.dvi
P. 124

•
                  •
            •
                               •
   Unix
                         In
   Case
            These
                               Recall
                  Entries
   Study—
            in
   Files
                                                                                                               In-Memory
                  point
            turn
   and
                               process
                  to
   the
                         implementation
                               sees
            point
                                                                                                               Tables
            to
   Filesystem
                                                                                                    0
                                                                                             3
                                                                                               2
                                                                                                  1
                                                                                           4
                                                                                N
                               files
                         these
            (in
                               as
                                              system-wide
                                            open file table
                                                                               6
                                                                                                 3
                                                                                           1
                                                                                             17
                                                                                                    11
                                                                                               25
                         are
                  system-wide
                                                                                                        Process A
                               file
                         just
                  open
                                                            1
                                                               0
                                                   17
            memory)
                  file
                                                                                    3
                                                                       N
                                                                                      2
                                                                                  4
                                                                                           0
                                                                                         1
                         indices
                                                   78
                                                               47
                                                                                                        file tables
                                                            135
                               descriptors
            inode
                                                                                                          process-specific
                                                                                    5
                                                                                           2
                                                                                  17
                                                                                      62
                                                                      32
                                                                                        27
                  table.
                         into
                                                                                               Process B
                         a
            table.
                  Why?
                                                 Inode 78
                                                              acitve inode table
                         process-specific
                         open
                         file
                         table.

   120
   119   120   121   122   123   124   125   126   127   128   129