Mercurial > ecos-v3_0-branch
comparison packages/fs/fat/current/doc/mkdisk0 @ 1476:f2453fae08d4
Added support for FAT filesystem. Several packages, see the individual
ChangeLogs for details.
| author | nickg |
|---|---|
| date | Mon, 19 Jan 2004 14:35:01 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1475:c9e09b1c18cb | 1476:f2453fae08d4 |
|---|---|
| 1 #! /bin/bash | |
| 2 # | |
| 3 # Add the following lines to your ~/.mtoolsrc file before running this script | |
| 4 # | |
| 5 # drive z: file="/tmp/disk0.img" partition=1 | |
| 6 # drive y: file="/tmp/disk0.img" partition=2 | |
| 7 # | |
| 8 # | |
| 9 # | |
| 10 | |
| 11 dd if=/dev/zero of=/tmp/disk0.img bs=512 count=20000 | |
| 12 mpartition -I -t 100 -h 5 -s 40 Z: | |
| 13 mpartition -cfa -t 49 -h 5 -s 40 -b 200 Z: | |
| 14 mpartition -cf -t 50 -h 5 -s 40 -b 10000 Y: | |
| 15 mformat z: | |
| 16 mformat y: | |
| 17 | |
| 18 # end |
