Skip to content
Snippets Groups Projects
  1. May 30, 2009
  2. Aug 28, 2007
    • rsc's avatar
      nits · c1b100e9
      rsc authored
      c1b100e9
  3. Aug 27, 2007
  4. Aug 24, 2007
    • rsc's avatar
      · 07090dd7
      rsc authored
      Remove struct uinode.
      Remove type arg to mknod (assume T_DEV).
      07090dd7
    • rtm's avatar
      comment nits · 8e88f9e2
      rtm authored
      8e88f9e2
  5. Aug 21, 2007
    • rsc's avatar
      · eaea18cb
      rsc authored
      PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf
      
      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
      eaea18cb
    • rsc's avatar
      · f32f3638
      rsc authored
      Various cleanup:
      
       - 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].
      f32f3638
  6. Aug 20, 2007
  7. Sep 07, 2006
  8. Aug 24, 2006
  9. Aug 13, 2006
    • rtm's avatar
      namei returns locked parent dir inode for create / unlink · 211ff0c6
      rtm authored
      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
      211ff0c6
  10. Aug 08, 2006
  11. Jul 21, 2006
    • rtm's avatar
      namei · 9d3fb671
      rtm authored
      9d3fb671
    • rtm's avatar
      bread · 11a9947f
      rtm authored
      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
      11a9947f
Loading