view src/inode.h @ 158:d0a708a29ec7

tweak hgignore
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 14 Jan 2020 17:02:58 +0900
parents 654f2dadd744
children eda7ea83f4f3
line wrap: on
line source

typedef struct inode <Impl> {
    uint    dev;        // Device number
    uint    inum;       // Inode number
    int     ref;        // Reference count
    int     flags;      // I_BUSY, I_VALID

    short   type;       // copy of disk inode
    short   major;
    short   minor;
    short   nlink;
    uint    size;
    uint    addrs[NDIRECT+1];
} inode;