#!/bin/sh
# current settings:
# a: - /dev/fd0H1440
# b: - /dev/fd1h1200
# swap them if yours are different
#
usage="usage:  format [a: or b:]"
case $# in 
    0) echo "$usage" 1>&2; exit 1 ;;
    1) 
    if [ "$1" = "a:" ]; then
      fdformat /dev/fd0H1440
      mformat a:
    else
      fdformat /dev/fd1h1200
      mformat b:
    fi
    ;;
    *) echo "$usage" 1>&2; exit 1 ;;
esac
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Begin2
Title        = Script for formatting DOS floppiez
Version      = 1.0
Desc1        = This is a script for all yer DOS lamers who are lasy to type
Desc2        = fdformat /dev/fd????? and mformat ?:
Author       = Serge Kolgan
AuthorEmail  = root@starato.wwb.noaa.gov
Maintainer   = Serge Kolgan
MaintEmail   = root@starato.wwb.noaa.gov
Site1        = sunsite.unc.edu
Path1        = /pub/Linux/incoming
File1        = format
FileSize1    = 378 Bytes
Site2        = sunsite.unc.edu
Path2        = /pub/Linux/Incoming
File2        = format
FileSize2    = 378 Bytes
Required1    = /bin/sh
Required2    = 
Required3    =
Required4    =
CopyPolicy1  = As per GNU licensing.
Keywords     = DOS floppy formatting script
Comment1     = Linux rulez!
Comment2     = My regards to _Daedalus, _Anarchy_, Dr_Delete
Comment3     = and other #linux ppl.
Comment4     = Linux rulez!
Comment5     = 
Comment6     = sergeiko
RelFiles1    =
Entered      = 16JUN94
EnteredBy    = Serge Kolgan
CheckedEmail = root@starato.wwb.noaa.gov
End
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Begin2
Title        = Macintosh HFS Access Tool
Version      = 0.36
Desc1        = This program allows non-Macintosh hosts to read
Desc2        = Macintosh HFS floppy disks, CD-ROMS and hard
Desc3        = drives
Desc4        =
Desc5        =
Author       = Craig Southeren
AuthorEmail  = <craigs@ineluki.apana.org.au>
Maintainer   = Craig Southeren
MaintEmail   = <horizons@mpx.com.au>
Site1        = sunsite.unc.edu
Path1        = pub/Linux/utils/disk-management
File1        = hfs0_36.tg