view src/inode.h @ 182:d00a1d0758cb

tweak
author anatofuz
date Mon, 20 Jan 2020 17:30:08 +0900
parents eda7ea83f4f3
children
line wrap: on
line source

typedef struct inode <Impl, Isa> impl file {
    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;