Page 126 - slides.dvi
P. 126

•
                                                                                             •
                                   •
               •
                                                                                                    •
   Unix
                                                          4.
                                                    5.
                                   If
                       –
                                                               3.
                                                                         2.
                                                                               1.
                            –
                                                                                                    To
   Case
                                          b.
                                               a.
                                                               if
                                                    if
                                                                                             From
                                   the
               (We’ll
                                                               ok,
   Study—
                                                                         check
                                                                               check
                       check
                            check
                                          free
                                               free
                                                    now
                                                                                             the
                                                                                                    delete
               see
                                                                                      Procedure
                       if
                                                                    access).
                                                                         if
                                                                               if
                            if
                                                                                                    a
   Files
                                                                                                               Consistency
                                   system
                                                                                      is:
                                                          Decrement
                                               data
   and
                                                    zero:
                            any
                       any
                                                                                             shell,
                                                                         user
                                                                               user
                                          inode.
               more
                                                                                                    file,
                                                               remove
   the
               on
                                                                         has
                                                                               has
                                                                                             this
                                                                                                    use
                            block
                       block
                                               blocks.
                                                                                                               Issues
                                                               entry
                                   crashes:
                                                                                             is
   Filesystem
                                                          reference
               this
                                                                                                    the
                                                                                             rm
                                                               from
                                   must
                       double
                                                                         sufficient
                                                                               sufficient
               later)
                                                          count
                                                                                                    unlink
                                                          on
                                   check
                            unreferenced.
                                                               directory.
                                                                                                    system
                                                          inode.
                       referenced.
                                                                                             <filename>
                                   entire
                                                                               permissions
                                                                         permissions
                                                                                                    call.
                                                                         on
                                                                               on
                                                                               the
                                                                         the
                                                                               file
                                   file-system:
                                                                         directory
                                                                               (must
                                                                               have
                                                                         (must
                                                                         have
                                                                               write
                                                                         write
                                                                               access).
   122
   121   122   123   124   125   126   127   128   129   130   131