Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!portal!cup.portal.com!thad From: thad@cup.portal.com (Thad P Floryan) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding disk names Message-ID: <35951@cup.portal.com> Date: 15 Nov 90 09:38:11 GMT References: Organization: The Portal System (TM) Lines: 20 chris@genly.UUCP (Chris Hind Genly) in writes: I would like to find the names of disks available on a system. Currently I'm looking through the DevInfo list. The disk names are there. By looking at dol_Type, I can determine if the entry is for a device or not. The problem is how to figure out if it's a disk or not. Right now I look for a startup message, and examine it to see if it looks like a disk startup message. I'm not happy with this method. It doesn't find the ram disk, and it may find a device which is not a disk. Anybody have any suggestions? Example code to do what you're seeking can be found on Fish Disk #79 in the "Info" directory where you'll find: Info Replacement for the AmigaDOS info command. Includes source. Author: Chuck McManis Thad Floryan [ thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]