summaryrefslogtreecommitdiff
path: root/fs.h
AgeCommit message (Collapse)Author
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris
2019-06-06gdb backtraces: -ggdb, -fno-omit-frame-pointer, BSIZE=1024Robert Morris
2019-06-04support read() and write() bigger than one pageRobert Morris
2016-09-02Fix a few lines that runoff is complaining about that they are too longFrans Kaashoek
2016-08-25Remove trailing white space with:Frans Kaashoek
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick)
2015-06-27Pick up where i left off in april:Frans Kaashoek
- move log into metadata part of disk, so that marking that the log's blocks are in use falls out for free - superblock describes the whole disk (sizes and offets) - sizes and offsets are computed in one place (mkfs) and the rest of the code refers to the superblock for these values, instead of recomputing them.
2015-04-10One ide command for nsector_per_block generates nsector_per_block interrupts,Frans Kaashoek
instead of 1. ideintr() should wait for nsector_per_block interrupts before waking up the reader; now it wakes up the reader after 1 interrupt, which apparently means that the first sector is available of the command instead of all. For now keep BSIZE to 512.
2015-04-03Disentangle block size from the disk's sector size. Set block size to 1024 ↵Frans Kaashoek
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.
2011-10-11clarify some FS commentsRobert Morris
2011-09-02Fit fs.h in one columnAustin Clements
2011-07-27Dirt simple loggingFrans Kaashoek
Passes usertests and stressfs Seems to recover correctly in a number of simple cases
2011-02-19xv6: formatting, cleanup, rev5 (take 2)Russ Cox
2009-05-31drop NADDRS and INDIRECT; too many namesrsc
2009-05-31move T_DIR etc into stat.h; move type uprsc
2008-10-08be clear what the root i-number isrtm
2007-08-24comment nitsrtm
2007-08-20shuffle fs.c in bottom-up orderrsc
2006-09-08tweak fs.h spacing; add commentrsc
2006-09-08fix various commentsrsc
2006-09-07more commentsrsc
2006-08-25inode addrs[NDIRECT] -> NADDRSrtm
fix race in mknod / creat use last component in dirent in mknod, not path
2006-08-24user-level malloc (untested)kaashoek
nit in sbrk indirect block fix dup to share fd struct
2006-08-15commented out code for cwdkaashoek
2006-08-10low-level keyboard input (not hooked up to /dev yet)rtm
fix acquire() to cli() *before* incrementing nlock make T_SYSCALL a trap gate, not an interrupt gate sadly, various crashes if you hold down a keyboard key...
2006-08-09iread for T_DEVkaashoek
O_RDWR, etc. create file
2006-08-09block bitmapkaashoek
balloc
2006-08-08mknod,ialloc,iupdatekaashoek
2006-07-21nameirtm
2006-07-21breadrtm
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