1. 12 Dec, 2002 5 commits
  2. 11 Dec, 2002 8 commits
    • Leigh Stoller's avatar
      Fix "wonkyness" as reported by Eric ... · a6cc917b
      Leigh Stoller authored
      a6cc917b
    • Leigh Stoller's avatar
    • Mike Hibler's avatar
      all: · a6a648e9
      Mike Hibler authored
      	add -Wall to CFLAGS and clean up lint
      	update the TODO file
      	explicitly size the header fields (e.g., int32_t not int)
      
      imagezip:
      	Version 2.
      
      	Adds two ints to the header to help track free space.  Each chunk
      	now has a first and last sector number which can describe any free
      	block before or after the data contained in the chunk.  This is
      	needed in order to properly zero all free space when laying down
      	an image.  In practice: the first chunk describes any free space
      	before the first allocated range and any free space after its
      	contained ranges and before the first allocated range in the second
      	chunk.  Every other chunk then describes just free space following
      	itself (since the previous chunk has already described the space
      	before this chunk).  The point being, we only describe each free
      	range once.
      
      	Added "relocation" information.  Relocation entries go in the chunk
      	header along with region descriptors.  This allows us to identify
      	chunks of data which need to be absolute disk blocks instead of
      	offsets from the containing partition.  This is now used for BSD-slice
      	partition tables which contain absolute disk blocks.  We can now
      	create an image in one slice and reload it into another slice.
      
      	Allow zlib compression level 0 (no compression).  This might be
      	useful on machines that have slow CPUs: do just FS-compression and
      	transfer the image elsewhere faster where it could be re-zipped
      	with regular compression.
      
      	Fix goof.  Previously we were not saving any DOS partition with
      	an unrecognized type.  We should be naively compressing it instead.
      	This is what we now do.  We continue to skip partitions of type 0
      	("unused").
      
      	mikeism: add handler for SIGINFO (^T) to report progress of
      	a zip-age.
      
      	Added everybody's favorite "dots" mode for reporting progress.
      
      	Eliminate some excess copies left over from the conversion from
      	write-every-little-piece to buffer-up-a-full-chunk-and-then-write.
      
      	Eliminaged the special case handling of no skips (ranges) in
      	compress_image by creating a single allocated range describing
      	the whole disk/partition in this case.
      
      	For NTFS, make the behavior of calling missing unicode routines
      	be to return an error rather than exit.  These calls happen,
      	but their failing doesn't seem to be fatal.
      
      	Lots of typical mike-pissing on everything else.
      
      imageunzip:
      
      	Modify to handle both V1 and V2 images.
      
      	In slice mode, make sure we don't write past the bounds of
      	the slice.  ES&D if we try.
      
      	Make output to unseekable devices work again (broken when
      	pwrite was added)
      
      	Add debug -F (Frisbee) option to randomize the presentation of
      	chunks to the unzip/write threads.  Used to simulate frisbee.
      
      	Add "-T DOS-type" option to tell imageunzip, when in slice mode,
      	to set the type of the slice in the DOS partition table.
      	This is useful if you are dropping say a BSD filesystem into
      	an unused slice, you don't have to go back later and set this
      	with fdisk.  Considered making this info part of the image
      	itself (recorded by imagezip when creating a slice image),
      	but decided against it.
      
      	writezero takes an off_t for the size, we can be asked to write
      	many gigabytes of zero at the end of a disk.
      
      	Turn off dots mode by default.  Ya wanna see spots?  Ya gotta
      	turn it on!
      
      	Lots of typical mike-pissing on everything else.
      
      imagedump:
      
      	New tool for checking/dumping the structure of an image and
      	reporting stats about it.
      a6a648e9
    • Mike Hibler's avatar
      Server: back to using a condvar since they seem to be fixed. · 2e77122f
      Mike Hibler authored
      Server: make file readsize independent of burstsize (previously
      readsize had to be a divisor of burstsize).  A subtle side-effect
      is that the dynamic burst rate is recalcluated at the conslusion
      of every burst instead of after every readsize count of blocks has
      been sent (less than a burst)  This just seems to be more logical.
      
      Client: add "-T DOS-type" option to tell frisbee, when in slice
      mode, to set the type of the slice in the DOS partition table.
      This is useful if you are dropping say a BSD filesystem into
      an unused slice, you don't have to go back later and set this
      with fdisk.  Considered making this info part of the image
      itself (recorded by imagezip when creating a slice image),
      but decided against it.
      2e77122f
    • Mike Hibler's avatar
      botched the path · a2ccf66a
      Mike Hibler authored
      a2ccf66a
    • Mike Hibler's avatar
      A better strategy for dealing with how to load network device drivers on · 78f2dd14
      Mike Hibler authored
      the different node types
      78f2dd14
    • Mike Hibler's avatar
      Retro shell-script version of setipod. · cd839813
      Mike Hibler authored
      Needed for the frisbee environment, so might as well use it everywhere.
      cd839813
    • Leigh Stoller's avatar
      Minor change to n.class clause. Look for class "pc" and "pct". pct is · 6fd445e7
      Leigh Stoller authored
      a temporary class for testing new images.
      6fd445e7
  3. 10 Dec, 2002 3 commits
    • Kirk Webb's avatar
      · fc985a64
      Kirk Webb authored
      Modified the timeout logic in create_image to track the image creation progress
      (size) rather than simply waiting a certain amount of time.  Also changed the
      code to report progress at regularly spaced intervals (adjustable), and
      to indicate when the timeout timer has been activated, or halted due to
      progress.  The changes also include an NFS cache slack factor, which makes
      the effective non-progress timeout equal to the sum of the slack time, plus
      the non-progress time (currently 3 + 5 = 8 minutes).
      
      Some changes were made to the error and cleanup logic to help revert the
      state of the DB and node as much as possible (node is not rebooted if the
      DB state cannot first be reverted) prior to exit.
      fc985a64
    • Leigh Stoller's avatar
      Minor change to addpubkeys call. · 1ea32e42
      Leigh Stoller authored
      1ea32e42
    • Leigh Stoller's avatar
      Fix up ssh/openssh links. · ab2b24ca
      Leigh Stoller authored
      ab2b24ca
  4. 09 Dec, 2002 15 commits
  5. 07 Dec, 2002 1 commit
  6. 06 Dec, 2002 8 commits