Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  INODE(4)                                                 INODE(4)



  NAME
       inode - format of an i-node

  SYNOPSIS
       #include <sys/types.h>
       #include <sys/ino.h>

  DESCRIPTION
       An i-node for a plain file or directory in a file system has
       the following structure defined by <sys/ino.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[39]; /* disk block addresses */
                   char   di_gen;      /* file generation number */
                   time_t di_atime;    /* time last accessed */
                   time_t di_mtime;    /* time last modified */
                   time_t di_ctime;    /* time of last file status change */
            };
            /*
             * the address bytes:
             *    39 used; 13 addresses
             *    of 3 bytes each.
             */
       For the meaning of the defined types off_t and time_t see
       types(5).

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







  Page 1                                                   May 1989
















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