Age | Commit message (Collapse) | Author | Files | Lines |
|
usertests for concurrent create/delete, and read() after unlink()
|
|
primitive ls
|
|
remove console init code from userfs
|
|
working unlink, but doesn't free dir blocks that become empty
remove out-of-date comment in ioapic
|
|
sh accepts 0-argument commands (like userfs)
reads from console
|
|
so fast interrupts overflow the kernel stack
fix: cli() before lapic_eoi()
|
|
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...
|
|
convert userfs to use printf
bfree
ifree
writei
start on unlink
|
|
O_RDWR, etc.
create file
|
|
checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works
|
|
|
|
balloc
|
|
|
|
|
|
|
|
|
|
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
|