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
|