From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ae0da5d34b71fecb X-Google-Attributes: gid1164f8,public From: sontakke@hobby.nl (Vikas Sontakke) Subject: Re: MTOOLS (MSDOS file system) on an Alphastation/Unix, or how to read raw floppies Date: 1995/11/09 Message-ID: <47tkua$va@mrnews.mro.dec.com>#1/1 X-Deja-AN: 119000518 distribution: world references: organization: Digital Equipment Corporation - Marlboro, MA newsgroups: comp.sys.dec Przemek Klosowski (przemek@rrdjazz.nist.gov) wrote: : Did anyone compile MTOOLS (programs to read MSDOS floppy disks : under Unix) on DEC Unix? I used /dev/rfd0c as the device to be : read, and I came up with this configuration (devices.c) : #ifdef ALPHASTATION : struct device devices[]={/*off,fat,of,gioctl, tr hd sc */ : {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18}, : {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9}, : {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0} : }; : #endif Try {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18}, {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 36}, instead, that seems to work for me. -- Vikas Sontakke sontakke@helix.enet.dec.com