summaryrefslogtreecommitdiff
path: root/fs.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-25inode addrs[NDIRECT] -> NADDRSrtm1-13/+60
fix race in mknod / creat use last component in dirent in mknod, not path
2006-08-24big directory testrtm1-1/+4
2006-08-24fix bugs in indirect-file codekaashoek1-11/+10
clean up test program
2006-08-24user-level malloc (untested)kaashoek1-16/+70
nit in sbrk indirect block fix dup to share fd struct
2006-08-19chdirkaashoek1-1/+7
cd in shell nits in mkdir, ls, etc.
2006-08-15commented out code for cwdkaashoek1-0/+8
2006-08-14set size for directories correctly in wdir and mkfskaashoek1-1/+2
mkdir ls shows stat info for each dir entry
2006-08-13wdir now uses readi/writeirtm1-32/+13
2006-08-13fix iget() bug that allocated in-use inode[] entriesrtm1-37/+13
2006-08-13namei returns locked parent dir inode for create / unlinkrtm1-69/+84
don't hold fd table lock across idecref() (latter does block i/o) idecref calls iput() in case last ref -> freeing inode dir size is 512 * # blocks, so readi/writei &c work unlink deletes dirent even if ip->nlink > 0
2006-08-13zero freed blockskaashoek1-8/+19
multi-block directories track size of directory (size = number entries in use) should namei (and other code that scans through directories) scan through all blocks of a directory and not use size?
2006-08-13link()rtm1-25/+64
2006-08-12zero out all of dirent.name when creatingrtm1-12/+15
don't increase length of directory
2006-08-12LRU disk cache replacementrtm1-1/+1
2006-08-12free inode only when noone is holding a pointer to it. should fix open-unlink-kaashoek1-36/+43
read problem, but untested
2006-08-12mknod set nlink = 1rtm1-3/+5
usertests for concurrent create/delete, and read() after unlink()
2006-08-12fstatkaashoek1-0/+11
primitive ls
2006-08-12unlink,mknod,create with multi-component pathnames should work nowkaashoek1-11/+31
remove console init code from userfs
2006-08-11fix deadlock---iput(dp) asapkaashoek1-1/+59
working unlink, but doesn't free dir blocks that become empty remove out-of-date comment in ioapic
2006-08-11init creates console, opens 0/1/2, runs shrtm1-5/+6
sh accepts 0-argument commands (like userfs) reads from console
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm1-1/+7
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-10low-level keyboard input (not hooked up to /dev yet)rtm1-0/+1
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-10printfkaashoek1-18/+79
convert userfs to use printf bfree ifree writei start on unlink
2006-08-09iread for T_DEVkaashoek1-0/+8
O_RDWR, etc. create file
2006-08-09devswkaashoek1-0/+11
checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works
2006-08-09oops, update directory inode tookaashoek1-2/+9
2006-08-09block bitmapkaashoek1-19/+55
balloc
2006-08-08mknod,ialloc,iupdatekaashoek1-0/+95
2006-07-29open()rtm1-3/+6
2006-07-27primitive execrtm1-0/+23
2006-07-21nameirtm1-1/+118
2006-07-21breadrtm1-0/+73
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