Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inode(4) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

fs(4)

types(5)



     inode(4)                                                 inode(4)



     NAME
          inode - format of a System V inode

     SYNOPSIS
          #include <sys/types.h>
          #include <svfs/inode.h>

     DESCRIPTION
          An i-node for a plain file or directory in a file system has
          the following structure defined by <svfs/inode.h>.

          /* Inode structure as it appears on a disk block. */
          struct    dinode {

               ushort     di_mode;     /* mode and type of file */
               short      di_nlink;    /* number of links to file */
               ushort     di_uid;      /* owner's user id */
               ushort     di_gid;      /* owner's group id */
               off_t      di_size;     /* number of bytes in file */
               char       di_addr[40]; /* disk block addresses */
               time_t     di_atime;    /* time last accessed */
               time_t     di_mtime;    /* time last modified */
               time_t     di_ctime;    /* time created */
          };

          /*
          * the 40 address bytes:
          *    39 used; 13 addresses
          *    of 3 bytes each.
          */

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

     FILES
          /usr/include/svfs/inode.h

     SEE ALSO
          stat(2), fs(4), types(5).
















     Page 1                                        (last mod. 1/14/87)



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