blob: 37fb7f77b017720fe589abd2b405aca8a024d77b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/bash
#
# Add the following lines to your ~/.mtoolsrc file before running this script
#
# drive z: file="/tmp/disk0.img" partition=1
# drive y: file="/tmp/disk0.img" partition=2
#
#
#
dd if=/dev/zero of=/tmp/disk0.img bs=512 count=20000
mpartition -I -t 100 -h 5 -s 40 Z:
mpartition -cfa -t 49 -h 5 -s 40 -b 200 Z:
mpartition -cf -t 50 -h 5 -s 40 -b 10000 Y:
mformat z:
mformat y:
# end
|