🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6653

Re: Finding disk names

#6653
From: Thad P Floryan
Date: Thu, 15 Nov 1990 09:38
20 lines
1267 bytes
chris@genly.UUCP (Chris Hind Genly) in <chris.11102@genly.UUCP> 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 ]
Technical Details
Message-ID: <35951@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!portal!cup.portal.com!thad
References: <chris.11102@genly.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <chris.11102@genly.UUCP>
Organization: The Portal System (TM)
Lines: 20