Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: headings level update for PDF export

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Table of Contents

Table of Contents
excludeTable of Contents

Description

The "mkdskcmd" utility:

  • Creates empty disk images of a given standard disk type or a custom disk size
  • Transfers existing disk images of one type to disk images of another type.

Creating disk images

The first step is to obtain the name of the disk that needs to be created:

...

mkdisk for CHARON utility v. 1.16
Copyright (c) 2009-2018 2019 STROMASYS. All rights reserved.

Usage:
   mkdskcmd [Options]

Options:
   -h, --help            - display help screen

   -o, --output <file>   - specify output file name

   -d, --disk <name>     - specify the disk name from Disk table

   -z, --blsize <value>  - specify the block size in bytes (custom disk image)

   -c, --blcount <value> - specify number of the blocks (custom disk image)

   -a, --avtable <file>  - specify AVDISK table file

   -r, --resize <file> [<disk-name>]
                         - resize the disk image
      <file>        - file name of the disk image to be resized
      <disk-name>   - name of the disk from the Disk table

      <file> will either have the specified number of blocks added to the
      end or be truncated at the new smaller size.

      To specify a custom disk size, use the following parameters:
      --resize <file> --blsize <value> --blcount <value>


   -s, --shrink          - mandatory parameter when resizing to smaller disk

   -l, --list            - to display AVDISK table

   -q, --quiet           - run in quiet mode

Return value:
   0        - Success
   Non zero - Failure

Examples:
   mkdskcmd -h
   mkdskcmd -l
   mkdskcmd -a /opt/charon/bin/mkdsk.vtable -o rk07.vdisk -d rk07
   mkdskcmd -o custom.vdisk -z 512 -c 16384
   mkdskcmd -r rz22.vdisk rz25 -a /opt/charon/bin/mkdsk.vtable
   mkdskcmd -r rz22.vdisk rz25 -a /opt/charon/bin/mkdsk.vtable -z 512 -c 32768

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Div
classpagebreak


Resizing disk images

The "mkdskcmd" utility is able to resize disk images of one type to a disk image of another type.

...