Harbour Wall image

Maui Systems

Project: cdvtoc

Pre-Requisites:

  • Solaris (SPARC)

License: GNU Public License (v2)

Download:

    Item Description Version
    cdvtoc.c Source code for the utility 1.7
    cdvtoc SPARC binary version of the utility 1.7

Description:

    This utility creates a VTOC file for a CDROM install CD, for use with SPARC Solaris. I'm sure x86 Solaris isn't much different, but that wasn't the aim of this utility!

    The utility takes the images for slice 0, 1, 2.... and creates a VTOC for them. The contents of the images are up to you!

    Normally, the images are:

    1. HSFS area (files etc)
    2. UFS area (will be mounted as / during the install)
    3. UFS area (sun4c bootblock)
    4. UFS area (sun4d bootblock)
    5. UFS area (sun4m bootblock)
    6. UFS area (sun4u bootblock)

    In operation, pass the names of the images on the command line, along with the '-o outputfile' option and the VTOC will be created in that file. Each of the slice entries will be padded to a cylinder boundary; the program will display the number of padding bytes you need to add to each slice to make it work.

    If you use the '-C' option too, the outputfile will be the full concatenated ISO image; padding bytes are automatically added as required from above without doing anything to the source images.

    When using the -C option, the initial HSFS area is stripped of the first sector (512 bytes), which is where the VTOC is placed. You don't have to manually remove the first sector from the HSFS area as mentioned in many HOWTO documents.

Caveats:

    I've only tested it on my server here for DR purposes. Your mileage may vary.....

Release History:

  • 1.7 : Updated to fix bug with writing files > 2Gb
  • 1.6 : Updated to allow >2Gb partitions
  • 1.4 : Initial release

Authors:

    marty - at - maui dot co dot uk
www.maui-systems.co.uk ©2007 Maui Systems Ltd. All rights reserved