Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inode_s5(4) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

fs(4)

l3tol(3C)

types(5)



inode(4)                       UNIX System V(s5)                       inode(4)


NAME
      inode (s5) - format of an s5 i-node

SYNOPSIS
      #include <sys/types.h>
      #include <sys/fs/s5ino.h>

DESCRIPTION
      An i-node for a plain file or directory in an s4 file system has the
      following structure defined by sys/fs/s5ino.h.

      /* Inode structure as it appears on a disk block. */
      struct dinode
      {
             omodet      dimode;     /* mode and type of file */
             onlinkt     dinlink;    /* number of links to file */
             ouidt       diuid;      /* owner's user id */
             ogidt       digid;      /* owner's group id */
             offt         disize;     /* number of bytes in file */
             char          diaddr[39]; /* disk block addresses */
             unsigned char digen;      /* file generation number */
             timet        diatime;    /* time last accessed */
             timet        dimtime;    /* time last modified */
             timet        dictime;    /* time status last changed */
      };
      /*
       * Of the 40 address bytes:
       *    39 are used as disk addresses
       *    13 addresses of 3 bytes each
       *    and the 40th is used as a
       *   file generation number
       */

      For the meaning of the defined types offt and timet see types(5).

SEE ALSO
      stat(2), s5 fs(4)
      l3tol(3C), types(5) in the Programmer's Reference Manual
















10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026