Xref: utzoo alt.sys.sun:3445 comp.sys.3b1:1060 comp.sources.d:6761 Path: utzoo!utgpu!cs.utexas.edu!swrinde!mips!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!corton!laas!ralph From: ralph@laas.fr (Ralph P. Sobek) Newsgroups: alt.sys.sun,comp.sys.3b1,comp.sources.d Subject: Mtools package for SPARCs with floppy drives Summary: This concerns SPARCS still on SunOS 4.0.3 Keywords: Mtools version 2.0.3, Mformat Message-ID: Date: 10 Apr 91 10:16:10 GMT Sender: news@laas.laas.fr Distribution: alt Organization: LAAS-CNRS France Lines: 34 We have recently recovered version 2.0 of the mtools package which, I believe, was posted to the unix-pc.sources newsgroup. The version we have is at patchlevel 3. When we try to install an MS-DOS system with mformat on a low-density formatted floppy, mformat assumes that the floppy is high-density. In SunOS 4.0 there are two devices for floppy drive: /dev/fd0c and /dev/fdl0c. In SunOS 4.1.1 the drive "auto-senses the density of the floppy." We would like to have mtools work both under SunOS 4.0.3 and 4.1.1. Has anyone else had similar problems? Do there exist further patchs for mtools? Has anyone added auto-sensing code to mformat.c or devices.c? The following excerpt from devices.c seems to imply SunOS 4.1. #ifdef SPARC struct device devices[] = { {'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 /* SPARC */ All suggestions would be appreciated. Thanks a lot. -- Ralph P. Sobek Disclaimer: The above ruminations are my own. ralph@laas.fr Addresses are ordered by importance. ralph@laas.uucp, or ...!uunet!laas!ralph If all else fails, try: sobek@eclair.Berkeley.EDU =============================================================================== THINK: Due to IMF & World Bank policies 100 million Latin American children are living, eating, and sleeping in the streets -- Le Monde Diplomatique