11a9947f1a
iget mkfs makes a file system image put this in your .bochsrc: ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1
12 lines
163 B
C
12 lines
163 B
C
// in-core file system types
|
|
|
|
struct inode {
|
|
uint dev;
|
|
uint inum;
|
|
int count;
|
|
int busy;
|
|
short type;
|
|
short nlink;
|
|
uint size;
|
|
uint addrs[NDIRECT];
|
|
};
|