Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-08-24 | first ever correct use of strncpy | rsc | 1 | -22/+2 | |
2007-08-24 | Remove struct uinode. | rsc | 1 | -52/+42 | |
Remove type arg to mknod (assume T_DEV). | |||||
2007-08-24 | nits | rsc | 1 | -1/+1 | |
2007-08-24 | simplify ide queuing | rtm | 1 | -9/+11 | |
nits in comments | |||||
2007-08-24 | add missing iput() at end of _namei() | rtm | 1 | -4/+6 | |
2007-08-22 | tweaks | rsc | 1 | -22/+18 | |
2007-08-22 | PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf | rsc | 1 | -291/+120 | |
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument | |||||
2007-08-21 | remove namelen parameter | rsc | 1 | -65/+81 | |
2007-08-21 | Various cleanup: | rsc | 1 | -105/+148 | |
- Got rid of dummy proc[0]. Now proc[0] is init. - Added initcode.S to exec /init, so that /init is just a regular binary. - Moved exec out of sysfile to exec.c - Moved code dealing with fs guts (like struct inode) from sysfile.c to fs.c. Code dealing with system call arguments stays in sysfile.c - Refactored directory routines in fs.c; should be simpler. - Changed iget to return *unlocked* inode structure. This solves the lookup-then-use race in namei without introducing deadlocks. It also enabled getting rid of the dummy proc[0]. | |||||
2007-08-20 | checkpoint - simpler namei interface | rsc | 1 | -84/+86 | |
2007-08-20 | shuffle fs.c in bottom-up order | rsc | 1 | -315/+313 | |
2007-08-10 | various cleanups | rsc | 1 | -55/+42 | |
2007-08-10 | Make cp a magic symbol. | rsc | 1 | -6/+5 | |
2007-08-09 | The final curproc[cpu()] is now cp | rsc | 1 | -4/+3 | |
2007-08-09 | Clearer namei | rsc | 1 | -69/+106 | |
2007-08-08 | move ialloc body up, avoiding double check for end of loop | rsc | 1 | -11/+7 | |
2007-08-08 | panic like bget | rsc | 1 | -1/+1 | |
2007-08-08 | iincref returns new ref | rsc | 1 | -5/+5 | |
2007-08-08 | fix . .. unlink bug | rsc | 1 | -0/+6 | |
2006-09-08 | some comment changes | kaashoek | 1 | -1/+1 | |
2006-09-08 | ++ | rsc | 1 | -1/+1 | |
2006-09-08 | fix various comments | rsc | 1 | -6/+0 | |
2006-09-07 | allow long names again | rsc | 1 | -8/+7 | |
2006-09-07 | clean namei search loop | rsc | 1 | -22/+23 | |
2006-09-07 | comments | rsc | 1 | -6/+60 | |
2006-09-07 | remove _ prefixes | rsc | 1 | -9/+9 | |
2006-09-06 | wrap long lines | rsc | 1 | -1/+2 | |
2006-09-06 | for vs while | rsc | 1 | -1/+1 | |
2006-09-06 | break single-line if statements | rsc | 1 | -7/+14 | |
2006-09-06 | no /* */ comments | rsc | 1 | -8/+6 | |
2006-09-06 | standardize various * conventions | rsc | 1 | -86/+86 | |
2006-09-06 | spacing fixes: no tabs, 2-space indents (for rtm) | rsc | 1 | -13/+13 | |
2006-08-30 | complain if no disk 1 | rtm | 1 | -25/+19 | |
lots of cleanup | |||||
2006-08-29 | clear killed flag in exit | rtm | 1 | -1/+1 | |
idecref cwd in exit | |||||
2006-08-26 | consistently ignore more than 14 chars in path component | rtm | 1 | -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-25 | inode addrs[NDIRECT] -> NADDRS | rtm | 1 | -13/+60 | |
fix race in mknod / creat use last component in dirent in mknod, not path | |||||
2006-08-24 | big directory test | rtm | 1 | -1/+4 | |
2006-08-24 | fix bugs in indirect-file code | kaashoek | 1 | -11/+10 | |
clean up test program | |||||
2006-08-24 | user-level malloc (untested) | kaashoek | 1 | -16/+70 | |
nit in sbrk indirect block fix dup to share fd struct | |||||
2006-08-19 | chdir | kaashoek | 1 | -1/+7 | |
cd in shell nits in mkdir, ls, etc. | |||||
2006-08-15 | commented out code for cwd | kaashoek | 1 | -0/+8 | |
2006-08-14 | set size for directories correctly in wdir and mkfs | kaashoek | 1 | -1/+2 | |
mkdir ls shows stat info for each dir entry | |||||
2006-08-13 | wdir now uses readi/writei | rtm | 1 | -32/+13 | |
2006-08-13 | fix iget() bug that allocated in-use inode[] entries | rtm | 1 | -37/+13 | |
2006-08-13 | namei returns locked parent dir inode for create / unlink | rtm | 1 | -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-13 | zero freed blocks | kaashoek | 1 | -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-13 | link() | rtm | 1 | -25/+64 | |
2006-08-12 | zero out all of dirent.name when creating | rtm | 1 | -12/+15 | |
don't increase length of directory | |||||
2006-08-12 | LRU disk cache replacement | rtm | 1 | -1/+1 | |
2006-08-12 | free inode only when noone is holding a pointer to it. should fix open-unlink- | kaashoek | 1 | -36/+43 | |
read problem, but untested |