Path: utzoo!attcan!uunet!munnari!otc!metro!ipso!runx!johnf From: johnf@runx.ips.oz (John F. Baird) Newsgroups: comp.os.minix Subject: DOS[READ\WRITE\DIR] on 3 1/2 etc etc Message-ID: <1516@runx.ips.oz> Date: 13 May 88 15:15:17 GMT Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 24 Does anybody know if DOSREAD, DOSWRITE and DOSDIR on Minix 1.2 can read and write 3 1/2" MSDOS disks?. DOSREAD etc on 1.1 works out the disk's "dimensions" via the "Media Descriptor" byte in the first entry of the FAT table. It will thus confuse 720k disks with 1.2M. I've just re-written it to use the info in the boot sector - so it now copes with virtually ANY format. I'll post it to the group (or wherever) if Minix 1.2's hasn't been "updated". It's also got a lot of other mods to allow it to run on my Applix (don't worry, you wont have heard of it) under it's OS (which can't open /dev/fd? files), but these are all #ifdef'd, so that's ok. Oh yeah; another thing:- can anyone explain why DOSREAD doesnt just do calls to "printf" etc etc. Why does it have all that "print_string" stuff?. why not use printf directly? (my modified version does - will it still work on Minix?). Thankx, Greyham * Greyham Stoney: * Incoming Mail: greyham@utscsd.oz (I cant send out from here) * University of Technology, Sydney: (Amdahl) /ele/student/greyham * Outgoing Mail: johnf@runx.oz (please dont send to here) ACSnet: greyham@utscsd CSNET: greyham@utscsd.oz ARPA: greyham%utscsd.oz@seismo.css.gov JANET: utscsd.oz!greyham@ukc UUCP: {enea,hplabs,mcvax,prlb2,seismo,ubc-vision,ukc}!munnari!utscsd.oz!greyham