# this is the disk structure: # char name[NAMELEN]; # short uid; # short gid; [2*2] # ushort mode; # #define DALLOC 0x8000 # #define DDIR 0x4000 # #define DAPND 0x2000 # #define DLOCK 0x1000 # #define DREAD 0x4 # #define DWRITE 0x2 # #define DEXEC 0x1 # [ushort muid] [2*2] # Qid.path; [4] # Qid.version; [4] # long size; [4] # long dblock[NDBLOCK]; # long iblock; # long diblock; # long atime; # long mtime;