summaryrefslogtreecommitdiff
path: root/fsvar.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08shuffle and tweak for formatting.Russ Cox1-18/+0
pdf has very good page breaks now. would be a good copy for fall 2009.
2009-05-31drop NADDRS and INDIRECT; too many namesrsc1-1/+1
2007-08-28nitsrsc1-40/+0
2007-08-28clumsy blank pages to make some files align betterrsc1-0/+40
2007-08-24Remove struct uinode.rsc1-6/+0
Remove type arg to mknod (assume T_DEV).
2007-08-24comment nitsrtm1-1/+1
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc1-1/+5
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-21Various cleanup:rsc1-4/+3
- 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-20shuffle fs.c in bottom-up orderrsc1-1/+1
2006-09-07commentsrsc1-5/+6
2006-08-25inode addrs[NDIRECT] -> NADDRSrtm1-1/+1
fix race in mknod / creat use last component in dirent in mknod, not path
2006-08-13namei returns locked parent dir inode for create / unlinkrtm1-0/+4
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-08mknod,ialloc,iupdatekaashoek1-0/+2
2006-07-21nameirtm1-0/+2
2006-07-21breadrtm1-0/+12
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