#!/bin/sh
#
#
#
. ./file_image_functions
#
if [ -z "$1" ] \
  || [ -z "$2" ] \
  || [ "$2" -lt "1" ] \
  || [ "$2" -gt "4" ]
then
    echo "Usage:"
    echo ""
    echo "$0 DISK_IMAGE_FILE PART_NUMBER dos|minix"
    echo ""
    echo "The partition number must be between"
    echo " 1 and 4. No extended partitions are"
    echo "handled!"
else
    file_image_partition_format "$1" "$2" "$3"
fi
#
