

DEMOLISH(8)               Minix Programmer's Manual                DEMOLISH(8)


NAME
     demolish - take an image to pieces

SYNOPSIS
     demolish image
     demolish image kernel mm fs ... init

DESCRIPTION
     Demolish does the opposite of installboot -image or build:   It  takes  a
     Minix  kernel image apart to its components.  Extracting an image made by
     installboot is straightforward, as it is much like  an  ar(1)  or  tar(1)
     archive.   A  build  made  image  has lost a lot of information about the
     original programs, so you need to specify their names.

     The following restrictions/assumptions/comments are made  about  a  build
     image:

          It must be a 1.5 or newer image with no special tricks.

          The kernel must either be separate I&D, or it's stack  must  be  512
          bytes  exactly  with no change to the beginning of the text and data
          segment.

          The click size is 256.

          There is a minute chance that the data segment of a common I&D fs is
          not properly located.  This doesn't matter for the other programs.

     The assumption is that this program is used to take a Minix  distribution
     boot floppy apart, so that the programs may be reassembled by installboot
     for my boot monitor (see monitor(8)).

SEE ALSO
     build(8), installboot(8), monitor(8).

BUGS
     Recompile the kernel.  Feels much better.

AUTHOR
     Kees J. Bot, (kjb@cs.vu.nl)


















                                                                             1

