History log of /xv6-public/mkfs.c (Results 1 – 25 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11, xv6-rev9
# 7894fcd2 25-Aug-2016 Frans Kaashoek <kaashoek@mit.edu>

Remove trailing white space with:
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done
(Thanks to Nicolás Wolovick)


# 4f2d3814 13-Aug-2015 Ayan Shafqat <selfjam@gmail.com>

Fixed broken build on Arch Linux


# 8320d61b 27-Jun-2015 Frans Kaashoek <kaashoek@mit.edu>

Pick up where i left off in april:
- move log into metadata part of disk, so that marking
that the log's blocks are in use falls out for free
- superblock describes the whole disk (sizes and offets)

Pick up where i left off in april:
- move log into metadata part of disk, so that marking
that the log's blocks are in use falls out for free
- superblock describes the whole disk (sizes and offets)
- sizes and offsets are computed in one place (mkfs) and
the rest of the code refers to the superblock for these values,
instead of recomputing them.

show more ...


# 895af77f 10-Apr-2015 Frans Kaashoek <kaashoek@mit.edu>

check blockno passed to idestart


# c24ac5d7 03-Apr-2015 Frans Kaashoek <kaashoek@mit.edu>

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks
in the file system blocks instead of sectors. Passes usertests for different
block sizes.

show more ...


Revision tags: xv6-rev8
# 48aa9174 28-Aug-2014 Robert Morris <rtm@csail.mit.edu>

i think this is a working concurrent logging scheme


# c440b5cd 11-Sep-2012 Frans Kaashoek <kaashoek@mit.edu>

Use static assert instead of _LP64 (thanks Eddie!)


# cf57e525 07-Sep-2012 Frans Kaashoek <kaashoek@mit.edu>

Remove -m32 flag from native gcc compiler
But check that mkfs.c is building with LP64


Revision tags: xv6-rev7, osdi12-submit, xv6-rev6
# 13a96bae 28-Jul-2011 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

Dirt simple logging
Passes usertests and stressfs
Seems to recover correctly in a number of simple cases


Revision tags: xv6-rev5
# c5f53873 28-Feb-2011 Russ Cox <rsc@swtch.com>

fixes from Peter Froehlich


# 1a81e38b 11-Jan-2011 Russ Cox <rsc@swtch.com>

make new code like old code

Variable declarations at top of function,
separate from initialization.

Use == 0 instead of ! for checking pointers.

Consistent spacing around {, *, casts.

Declare 0-p

make new code like old code

Variable declarations at top of function,
separate from initialization.

Use == 0 instead of ! for checking pointers.

Consistent spacing around {, *, casts.

Declare 0-parameter functions as (void) not ().

Integer valued functions return -1 on failure, 0 on success.

show more ...


# 24067960 10-Jan-2011 Russ Cox <rsc@swtch.com>

mkfs: avoid clash with system struct stat


# e92fd614 02-Jan-2011 Russ Cox <rsc@swtch.com>

mkfs: avoid out of bounds access to sb in wsect


Revision tags: xv6-2010, xv6-rev4
# 1aee6a6c 31-Aug-2010 Austin Clements <amdragon@mit.edu>

Hopefully get the printf size spec right, regardless of compiler.


# 8d774afb 31-Aug-2010 Robert Morris <rtm@csail.mit.edu>

no more pminit, or ELF header at 0x10000
kinit() knows about end and PHYSTOP
map all of kernel read/write (rather than r/o instructions)
thanks, austin


# 880ee18a 31-Aug-2010 Austin Clements <amdragon@mit.edu>

mkfs must be compiled 32-bit. Fix mkfs warnings


Revision tags: xv6-rev3
# ba6cd8a6 31-May-2009 rsc <rsc>

drop NADDRS and INDIRECT; too many names


# 0c7f4838 31-May-2009 rsc <rsc>

move T_DIR etc into stat.h; move type up


# 2ce40d70 08-Oct-2008 rtm <rtm>

be clear what the root i-number is


Revision tags: xv6-2008
# 411ee741 15-Sep-2007 rtm <rtm>

fix comments


Revision tags: xv6-2007, xv6-rev1
# 558ab49f 27-Aug-2007 rsc <rsc>

delete unnecessary #include lines


# 20365348 24-Aug-2007 rtm <rtm>

add missing iput() at end of _namei()


Revision tags: symlinks, xv6-2006, xv6-rev0
# 72a590d9 08-Sep-2006 rsc <rsc>

quiet


# 94d7e259 07-Sep-2006 rsc <rsc>

avoid system binary clashes


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

standardize various * conventions


12