|
Mk9660 and dump9660 are utilities for creating ISO 9660 images. Both
supports the Microsoft Joliet extensions, the Rock Ridge and Plan 9
system use extensions, and the El Torrito bootable CD specification.
The rooted sub-forest of a filesystem to be included in an ISO 9660
image generated by the programs is specified by a so-called "proto
file" described in the accompanying documentation. Mk9660 is
typically used to make a single new image from a portion of an
existing file system much as other standard ISO 9660 image creation
tools are. Dump9660, however, allows for the incremental construction
of CD images in the style of the Plan 9 dump
filesystem or Network Appliance's .snapshot directories. Those of
you familiar with with either will know how useful it is to have
nightly snapshots of the file system.
When used to construct such "dump" images, the root directory contains subdirectories named by date and those subdirectories in turn contain a copy of the specified subtree as of the given date. Since ISO 9660 requires file blocks to be continguous, blocks are not shared between files as they are by dumpfs, but files are added to the image only if they are new or if their md5 sum has changed since the last dump. One of the authors has been using dump9660 as a poor-man's dumpfs for close to two years. Russ Cox and I originally wrote dump9660 in September or October of 2000 while re-writing the ISO 9660 image creation software for Plan 9 to support Rock Ridge (RRIP). I have finally packaged up the source, which now depends on some bits from the Plan 9 libc since maintaining it separately isn't worth the effort. The result is known to compile on Plan 9, FreeBSD, NetBSD, OpenBSD, Linux, Digital Unix, SunOS/Solaris, and Darwin/MacOS X, but we have thus far tested it extensively only under FreeBSD and Plan 9. Bug reports, particularly with patches, are welcomed. Before you download, compile, install, or redistribute dump9660, please read the license carefully. Rather than go through the hassle of releasing the code under multiple licenses, Russ Cox and I have put dump9660 itself under the Plan 9 Open Source License. The code available here is almost identical to that now distributed as a part of the Fourth Edition Plan 9 distribution. A variety of support code is covered by a combination of my own copyright, the Plan 9 Open Source License, and the FreeBSD BSD-style license (only one file, required for systems without scandir, falls under the FreeBSD license). Manual pages and pre-installation documentation are contained in the distribution. As of November 2006, I have removed this code down as it is out of date and I do not plan to update it. If you really want a copy, please get in touch with me. |