home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / fs / s5ino.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.2 KB  |  33 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _FS_S5INO_H
  11. #define _FS_S5INO_H
  12.  
  13. #ident    "@(#)/usr/include/sys/fs/s5ino.h.sl 1.1 4.0 12/08/90 40191 AT&T-USL"
  14. /*
  15.  * Inode structure as it appears on a disk block.  Of the 40 address
  16.  * bytes, 39 are used as disk addresses (13 addresses of 3 bytes each)
  17.  * and the 40th is used as a file generation number.
  18.  */
  19. struct    dinode {
  20.     o_mode_t    di_mode;    /* mode and type of file */
  21.     o_nlink_t    di_nlink;        /* number of links to file */
  22.     o_uid_t        di_uid;          /* owner's user id */
  23.     o_gid_t        di_gid;          /* owner's group id */
  24.     off_t        di_size;         /* number of bytes in file */
  25.     char          di_addr[39];    /* disk block addresses */
  26.     unsigned char    di_gen;        /* file generation number */
  27.     time_t        di_atime;       /* time last accessed */
  28.     time_t        di_mtime;       /* time last modified */
  29.     time_t        di_ctime;       /* time created */
  30. };
  31.  
  32. #endif    /* _FS_S5INO_H */
  33.