🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How can my device handler "unmount" itself?

#4969
From: Frank J. Edwards
Date: Mon, 20 Aug 1990 17:13
23 lines
1563 bytes
I've been doing some tinkering with device handlers lately, and so far
each time I write a new version to test I have to change the name of
the device in my temporary MountList and mount the new device, i.e.

	change TAP1: to TAP2: in file Tape-ML

	1> mount tap2: from tape-ml

I've been using Dillon's ramdisk example and he comments on clearing
the dn_Task field so that Dos will startup a new task later on if
necessary instead of leaving the current one hanging around.  But
there's no clue about removing it entirely except at the beginning
of the code where he adds a DT_VOLUME entry to the device list so
that WB will see his ramdisk.  Its in that section of code that the
DosNode is examined and a new DeviceNode is created for the ramdisk.

Well, if anyone has any answers I'd like to hear from you.  There are
others in my local Amiga users group who would also like to know...
-----
Frank J. Edwards,		|  "Be different!  Join the American
2677 Arjay Court		|  Non-Conformist Society TODAY!"
Palm Harbor, FL  34684-4505	|  -- the above message is a public service
Phone:  (813) 786-3675		|  -- bulletin brought to you by this station
Technical Details
Message-ID: <082090.121327@ckctpa.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!pdn!palan!ckctpa!crash

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!pdn!palan!ckctpa!crash
From: crash@ckctpa.UUCP (Frank J. Edwards)
Newsgroups: comp.sys.amiga.tech
Subject: How can my device handler "unmount" itself?
Summary: is unmounting just removing the DosNode?
Message-ID: <082090.121327@ckctpa.UUCP>
Date: 20 Aug 90 17:13:27 GMT
Organization: Edwards & Edwards Consulting
Lines: 34