Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!orc!oliveb!amiga!kodiak From: kodiak@amiga.UUCP (Robert R. Burns) Newsgroups: comp.sys.amiga.tech Subject: Re: Anybody know how to do this stuff? Keywords: multitasking Message-ID: <5010@amiga.UUCP> Date: 12 Dec 89 20:19:50 GMT References: <13920020@hpfelg.HP.COM> <13920027@hpfelg.HP.COM> <4730@sugar.hackercorp.com> <4731@sugar.hackercorp.com> Reply-To: kodiak@batgirl.UUCP (Robert R. Burns) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 19 In article <4731@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: )Here it is, as promised. You can scan the device list with this code, and do )all sorts of fun stuff. )X/* MOUNTED -- is a disk mounted? )X * )X * Copyright 1987 by Peter da Silva. )X * )X * This code may be freely distributed provided this notice is )X * retained. It may be hacked, munged, and incorporated in commercial )X * software if you want, so long as you credit me for it. Please hack it to include a Forbid() around the manipulation of the dos device list, lest you find yourself holding onto an obsolete node and then linking off to junk. -- Bob Burns, amiga!kodiak _ | /_ _|. _ | Commodore __ |_) _ |_ _ )' |<(_)(_)|(_\|< /\ | ||| _` /\ |_)(_\| )(_\ | | \ Software ___/..\|\/|||__|/..\___ Faith