- 19 Mar, 2005 1 commit
-
-
Mike Hibler authored
-
- 17 Mar, 2005 1 commit
-
-
Mike Hibler authored
Untested, but compiles!
-
- 26 Apr, 2004 1 commit
-
-
Mike Hibler authored
1. "make clean" will just remove stuff built in the process of a regular build 2. "make distclean" will also clean out configure generated files. This is how it was always supposed to be, there was just some bitrot.
-
- 07 Apr, 2004 3 commits
-
-
Mike Hibler authored
with every DOS partition. It was only used by NTFS and has been replaced by equally hacky changes to the NTFS library. The benefit of the latter is that it at least works all the time on Linux and all FreeBSD versions.
-
Mike Hibler authored
Add a new interface to the library to enable us to use the whole-disk device rather than having to (figure out and) use a specific slice device.
-
Mike Hibler authored
to build under FreeBSD 5 (really newer gcc's)
-
- 24 Oct, 2003 2 commits
-
-
Mike Hibler authored
path.
-
Mike Hibler authored
Ok, not really any fundamental changes, mostly a source reorganization, but some new features as well: 1. Split off FS specific code for all FS types into subdirectories. imagezip.c was just getting unwieldy. You can now (in theory, I haven't enabled this in any easy way) build a version of imagezip with only the FSes you care about. 2. As part of the above, localize the filesystem specific headers in the subdirs instead of relying on the installed system headers. This allows easy building of, for example, BSD FS support under Linux. 3. Hacked up the GNUmakefiles some so that imagezip with all FS support will build (in the Emulab context) under Linux and FreeBSD 5.1 as well as FreeBSD 4.x. Still a hack, for Linux you need to first do: setenv LINUX 1 setenv HAVE_GCC3 1 setenv HAVE_LOCALE 1 and for FreeBSD 5.x: setenv HAVE_GCC3 1 setenv HAVE_LOCALE 1 these trigger ifdefs in some of the Makefiles to DTRT. Imagezip and frisbee still need a standalone configure... 4. Added support for UFS2 (aka FreeBSD 5.x default filesystems). 5. Added "-S dos-type" option to imagezip. This is the general form of the -b, -l, and -n options to force imagezip to treat the device as though it contains a filesystem of the indicated type.
-
- 18 Jun, 2003 1 commit
-
-
Mike Hibler authored
-
- 29 Apr, 2003 1 commit
-
-
Mike Hibler authored
-
- 28 Apr, 2003 1 commit
-
-
Kirk Webb authored
-
- 20 Mar, 2003 1 commit
-
-
Kirk Webb authored
cruft needed to compile ntfs support into imagezip, including the i18n unicode library routines from FBSD 5.0. Most of the magic is in the makefiles, but there is a patch for the ntfsprogs package we're using to get NTFS support. (patch contributed by Russ). Note that the ntfsprogs tarball is located in emulab webspace (like TG). Don't worry! You still have to pass --enable-windows to configure in order to pull any of this in, although it should compile nicely from here on out. Russ will commit his imagezip changes (hiber, and page file skipping) soon.
-
- 11 Dec, 2002 1 commit
-
-
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.
-
- 09 Sep, 2002 1 commit
-
-
Russell Daniel Christensen authored
We now give instructions for how to get the NTFS library needed to compile the NTFS version of imagezip.
-
- 03 Sep, 2002 1 commit
-
-
Mike Hibler authored
with --enable-windows. Requires the Linux-NTFS code, gcc 3, and a version of FreeBSD with <wchar.h> (post-4.3 apparently). As is tradition, a designated Crusty Old Fart (COF) must piss all over the code to ensure it is properly...eh, "seasoned." signed, COF #2 (aka mike)
-