1 struct buf { 2 int flags; 3 uint dev; 4 uint sector; 5 uchar data[512]; 6 }; 7 #define B_BUSY 0x1 8