summaryrefslogtreecommitdiff
path: root/fs.c
AgeCommit message (Collapse)AuthorFilesLines
2007-08-10various cleanupsrsc1-55/+42
2007-08-10Make cp a magic symbol.rsc1-6/+5
2007-08-09The final curproc[cpu()] is now cprsc1-4/+3
2007-08-09Clearer nameirsc1-69/+106
2007-08-08move ialloc body up, avoiding double check for end of looprsc1-11/+7
2007-08-08panic like bgetrsc1-1/+1
2007-08-08iincref returns new refrsc1-5/+5
2007-08-08fix . .. unlink bugrsc1-0/+6
2006-09-08some comment changeskaashoek1-1/+1
2006-09-08++rsc1-1/+1
2006-09-08fix various commentsrsc1-6/+0
2006-09-07allow long names againrsc1-8/+7
2006-09-07clean namei search looprsc1-22/+23
2006-09-07commentsrsc1-6/+60
2006-09-07remove _ prefixesrsc1-9/+9
2006-09-06wrap long linesrsc1-1/+2
2006-09-06for vs whilersc1-1/+1
2006-09-06break single-line if statementsrsc1-7/+14
2006-09-06no /* */ commentsrsc1-8/+6
2006-09-06standardize various * conventionsrsc1-86/+86
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc1-13/+13
2006-08-30complain if no disk 1rtm1-25/+19
lots of cleanup
2006-08-29clear killed flag in exitrtm1-1/+1
idecref cwd in exit
2006-08-26consistently ignore more than 14 chars in path componentrtm1-1/+4
forbid create or write of existing directory mkdir("d1/d2/d3"), .. should refer to d2, not cwd mkdir increase parent link count
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