[comp.unix.microport] 1.44 Floppy question.

cassidy@cdp.UUCP (07/17/89)

How do I use my 1.44 3-1/2" drive as unit 2? I have a 1.2 as unit 1 right now.
The release notes state that the drive is now supported, but I don't have the
device driver to use it as the second disk, only as the first. Is the a way
to build the device driver? I can't find the answer in the manuals.

System: 20 MHz 286, 2.5 meg ram, 90 megs storage, 1.2 floppy, and 1.44 floppy.
OS: uport SYS V/AT 2.4.0-U

-cass

cassidy@cdp
cassidy@attctc

wnp@attctc.Dallas.TX.US (Wolf Paul) (07/18/89)

In article <143800011@cdp> cassidy@cdp.UUCP writes:
>
>How do I use my 1.44 3-1/2" drive as unit 2? I have a 1.2 as unit 1 right now.
>The release notes state that the drive is now supported, but I don't have the
>device driver to use it as the second disk, only as the first. Is the a way
>to build the device driver? I can't find the answer in the manuals.

You do have the device driver, you just don't have the entires in
the /dev/rdsk and /dev/dsk directories. You need to "mknod" entries
there with the appropriate names, same major number as the other floppy
drives, and minor numbers according to the table below.

Note that this is for V/AT, not for V/386.

Here is the table for minor number coding:

    7 6 5 4 3 2 1 0
    | | | | | | | |
    | | | | | | | +-- if set, drive has 9 sectors/track
    | | | | | | +---- if set, drive is double-sided
    | | | | | +------ if set, drive has 80 cylinders
    | | | | +-------- Drive number ( 0 or 1 )
    | | | +---------- if NOT set, drive is high density (1.2 or 1.44)
    | | +------------ if set, drive is 3.5"
    | +-------------- if NOT set, read 40-cyl disk on 80-cyl drive (double-step)
    +---------------- if set, skip cylinder #0 (INSTALL floppies, 0s25)

From this then, result the following minor numbers:

For Drive 0:

Standard AT 1.2M :              01000110        70  (fd096ds15, 0s24)
Standard XT 360K :              00010111        23  (fd048ds9)
Old XT 320K :                   00010110        22  (fd048ds8)
Old XT 160 :                    00010100        20  (fd048ss8)
Quad Density 720K 5.25" :       01010111        87  (fd096ds9)
Double Density 720K 3.5" :      01110111       119  (fd0mf2dd)
High Density 1.4M 3.5" :        01100110       102  (fd0mf2hd)

And for Drive 1:  (Add 1000 binary, or 8 decimal to the numbers for Drive 0)

Standard AT 1.2M :              01001110        78  (fd196ds15, 1s24)
Standard XT 360K :              00011111        31  (fd148ds9)
Old XT 320K :                   00011110        30  (fd148ds8)
Old XT 160 :                    00011100        28  (fd148ss8)
Quad Density 720K 5.25" :       01011111        95  (fd196ds9)
Double Density 720K 3.5" :      01111111       127  (fd1mf2dd)
High Density 1.4M 3.5" :        01101110       110  (fd1mf2hd)

I have used these minor numbers successfully on my Uport 286 system until
I sold it late last year.
-- 
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP:   {texbell, attctc, dalsqnt}!dcs!wnp
DOMAIN: wnp@attctc.dallas.tx.us or wnp%dcs@texbell.swbt.com
        NOTICE: As of July 3, 1989, "killer" has become "attctc".


-- 
Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101
UUCP:   {texbell, attctc, dalsqnt}!dcs!wnp
DOMAIN: wnp@attctc.dallas.tx.us or wnp%dcs@texbell.swbt.com
        NOTICE: As of July 3, 1989, "killer" has become "attctc".