History log of /xv6-public/fs.c (Results 51 – 75 of 121)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7895178d 27-Aug-2007 rsc <rsc>

nits


# 6c34f97c 27-Aug-2007 rsc <rsc>

tell what an inode is


# a505fd66 27-Aug-2007 rsc <rsc>

FS cleanup.

Add utility routines bzero, readsb so that balloc, bfree fit on one page.
Make balloc loop clearer.


# 8d2e9a48 24-Aug-2007 rsc <rsc>

shuffle for formatting


# 766ba5cc 24-Aug-2007 rsc <rsc>

first ever correct use of strncpy


# 07090dd7 24-Aug-2007 rsc <rsc>

Remove struct uinode.
Remove type arg to mknod (assume T_DEV).


# 4d39b633 24-Aug-2007 rsc <rsc>

nits


# 902b13f5 24-Aug-2007 rtm <rtm>

simplify ide queuing
nits in comments


# 20365348 24-Aug-2007 rtm <rtm>

add missing iput() at end of _namei()


# f0721f1b 22-Aug-2007 rsc <rsc>

tweaks


# eaea18cb 22-Aug-2007 rsc <rsc>

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
+ distinguis

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

show more ...


# fbf91039 21-Aug-2007 rsc <rsc>

remove namelen parameter


# f32f3638 21-Aug-2007 rsc <rsc>

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

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].

show more ...


# e2a620da 20-Aug-2007 rsc <rsc>

checkpoint - simpler namei interface


# bcca6c6b 20-Aug-2007 rsc <rsc>

shuffle fs.c in bottom-up order


# 7d4aef6c 10-Aug-2007 rsc <rsc>

various cleanups


# b6095304 10-Aug-2007 rsc <rsc>

Make cp a magic symbol.


# bc011703 09-Aug-2007 rsc <rsc>

The final curproc[cpu()] is now cp


# ab5c2dbb 09-Aug-2007 rsc <rsc>

Clearer namei


# 95c07f82 08-Aug-2007 rsc <rsc>

move ialloc body up, avoiding double check for end of loop


# 32eea766 08-Aug-2007 rsc <rsc>

panic like bget


# d80b06a1 08-Aug-2007 rsc <rsc>

iincref returns new ref


# 5f0c20ec 08-Aug-2007 rsc <rsc>

fix . .. unlink bug


Revision tags: symlinks, xv6-2006, xv6-rev0
# 8e1d1ec9 08-Sep-2006 kaashoek <kaashoek>

some comment changes


# be29b8e2 08-Sep-2006 rsc <rsc>

++


12345