History log of /xv6-public/fs.c (Results 76 – 100 of 121)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d911d83c 08-Sep-2006 rsc <rsc>

fix various comments


# 15421863 07-Sep-2006 rsc <rsc>

allow long names again


# 0d6bbd31 07-Sep-2006 rsc <rsc>

clean namei search loop


# bb207a1d 07-Sep-2006 rsc <rsc>

comments


# 1dca3afb 07-Sep-2006 rsc <rsc>

remove _ prefixes


# 0cfc7290 06-Sep-2006 rsc <rsc>

wrap long lines


# db8fb62e 06-Sep-2006 rsc <rsc>

for vs while


# 48b82470 06-Sep-2006 rsc <rsc>

break single-line if statements


# f5527388 06-Sep-2006 rsc <rsc>

no /* */ comments


# 9e9bcaf1 06-Sep-2006 rsc <rsc>

standardize various * conventions


# a650c606 06-Sep-2006 rsc <rsc>

spacing fixes: no tabs, 2-space indents (for rtm)


# 2aa4c3bc 30-Aug-2006 rtm <rtm>

complain if no disk 1
lots of cleanup


# 7a37578e 29-Aug-2006 rtm <rtm>

clear killed flag in exit
idecref cwd in exit


# 03c70cc2 26-Aug-2006 rtm <rtm>

consistently ignore more than 14 chars in path component
forbid create or write of existing directory
mkdir("d1/d2/d3"), .. should refer to d2, not cwd
mkdir increase parent link count


# 5051da6d 25-Aug-2006 rtm <rtm>

inode addrs[NDIRECT] -> NADDRS
fix race in mknod / creat
use last component in dirent in mknod, not path


# bcfb84b6 24-Aug-2006 rtm <rtm>

big directory test


# 1be76685 24-Aug-2006 kaashoek <kaashoek>

fix bugs in indirect-file code
clean up test program


# ea2909b6 24-Aug-2006 kaashoek <kaashoek>

user-level malloc (untested)
nit in sbrk
indirect block
fix dup to share fd struct


# 8787cd01 19-Aug-2006 kaashoek <kaashoek>

chdir
cd in shell
nits in mkdir, ls, etc.


# e958c538 15-Aug-2006 kaashoek <kaashoek>

commented out code for cwd


# bdb66433 14-Aug-2006 kaashoek <kaashoek>

set size for directories correctly in wdir and mkfs
mkdir
ls shows stat info for each dir entry


# e4bcd2a3 13-Aug-2006 rtm <rtm>

wdir now uses readi/writei


# 17e3cf15 13-Aug-2006 rtm <rtm>

fix iget() bug that allocated in-use inode[] entries


# 211ff0c6 13-Aug-2006 rtm <rtm>

namei returns locked parent dir inode for create / unlink
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 * #

namei returns locked parent dir inode for create / unlink
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

show more ...


# c372e8dc 13-Aug-2006 kaashoek <kaashoek>

zero freed blocks
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 an

zero freed blocks
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?

show more ...


12345