sim
Class DiskMake

java.lang.Object
  |
  +--sim.DiskMake

public class DiskMake
extends java.lang.Object

Provides a single main method for writing "disk" images.


Field Summary
static int blockSize
           
 
Constructor Summary
DiskMake()
           
 
Method Summary
static void main(java.lang.String[] args)
          Simply dumps the argument files, in order, into a file called "image" (silently overwrites).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockSize

public static int blockSize
Constructor Detail

DiskMake

public DiskMake()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Simply dumps the argument files, in order, into a file called "image" (silently overwrites). Each file is padded with zeros to the next 512 byte boundary. An index is printed that maps disk block to the start of each file on the image.

java.lang.Exception