🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to match handler tasks with devices?

#13424
From: Doug Merritt
Date: Thu, 11 Jan 1990 20:29
26 lines
1587 bytes
I just wrote a new ps command ("yet another one? Why??" -- because I haven't
seen a really complete one yet).

It already knows which tasks are file system devices (via DevInfo).

I would like to figure out which tasks are instances of non-file system
devices, like "trackdisk.device", but haven't found any way to do so
(other than a kludge involving recognizing its name).

I tried looking at ExecBase->DeviceList, but didn't get far because I
can't figure out what it's a list of; anyone know? I know it's a struct List,
and I know that the elements start with struct Node, but I can't figure
out what structure follows the Node. Yes, I RTFM but couldn't find it
anywhere, nor were hex dumps enlightening.

That may be barking up the wrong tree anyway, so: what's a good way to
match up handler tasks/procs and the devices they handle??

Or: what documentation *should* I be reading? So far I've looked in
the RKM (Exec and Device volumes), all of the include files, and AmigaMail...
no luck.
	Thanks,
		Doug
-- 
Doug Merritt		{pyramid,apple}!xdos!doug
Member, Crusaders for a Better Tomorrow		Professional Wildeyed Visionary
Technical Details
Message-ID: <610@xdos.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!motcsd!xdos!doug

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!motcsd!xdos!doug
From: doug@xdos.UUCP (Doug Merritt)
Newsgroups: comp.sys.amiga.tech
Subject: How to match handler tasks with devices?
Message-ID: <610@xdos.UUCP>
Date: 11 Jan 90 20:29:55 GMT
Reply-To: doug@xdos.UUCP (Doug Merritt)
Organization: Hunter Systems, Mountain View CA (Silicon Valley)
Lines: 26