Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters, remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks in the file system blocks instead of sectors. Passes usertests for different block sizes.
Showing
- bio.c 11 additions, 9 deletionsbio.c
- bootmain.c 1 addition, 1 deletionbootmain.c
- buf.h 2 additions, 2 deletionsbuf.h
- fs.c 1 addition, 1 deletionfs.c
- fs.h 1 addition, 1 deletionfs.h
- ide.c 13 additions, 7 deletionside.c
- kill.c 1 addition, 1 deletionkill.c
- log.c 9 additions, 9 deletionslog.c
- memide.c 6 additions, 6 deletionsmemide.c
- mkfs.c 45 additions, 48 deletionsmkfs.c
- param.h 1 addition, 1 deletionparam.h
Loading
Please register or sign in to comment