Skip to content
Snippets Groups Projects
fsvar.h 285 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;
  uint addrs[NDIRECT];
};
rtm's avatar
rtm committed

extern uint rootdev;

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