summaryrefslogtreecommitdiff
path: root/fs.c
AgeCommit message (Collapse)AuthorFilesLines
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