ref: a566629485f872d51d4d5661d8b4aa32bd45f3e2
dir: /fns.h/
u8 rel2tind(u64 reli); /* actual device i/o routines */ u64 devinit(char *devfile); int devread(u64 blkno, void *b, u16 len); u64 devsize(void); int devwrite(u64 blkno, void *b, u16 len); int devwritedirtyclear(u64 blkno); /* show blocks */ void showblock(u8 *buf); void showdentry(u8 *buf); void showmagic(u8 *buf); void showconfig(u8 *buf); void showsuper(u8 *buf); void showdata(u8 *buf); void showind0(u8 *buf); void showind(u8 *buf); void panic(char*, ...); int fprint(int, char*, ...);