Skip to content
Snippets Groups Projects
fsvar.h 284 B
Newer Older
rtm's avatar
rtm committed
// in-core file system types

struct inode {
  uint dev;
  uint inum;
  int count;
  int busy;
  short type;
kaashoek's avatar
kaashoek committed
  short major;
  short minor;
rtm's avatar
rtm committed
  short nlink;
  uint size;
rtm's avatar
rtm committed
  uint addrs[NADDRS];
rtm's avatar
rtm committed
};
rtm's avatar
rtm committed

extern uint rootdev;

#define NAMEI_LOOKUP 1
#define NAMEI_CREATE 2
#define NAMEI_DELETE 3