Article View: comp.sys.mac
Article #13748Re: Is is safe to veto disk re-insertion prompts?
From: Larry Rosenstein
Date: Mon, 08 Dec 1986 18:36
Date: Mon, 08 Dec 1986 18:36
31 lines
1914 bytes
1914 bytes
In article <1716@batcomputer.tn.cornell.edu> eacj@batcomputer.UUCP (Julian Vrieslander) writes:
>I just discovered that the disk insertion prompt can be made to disappear
>without inserting the disk, if you hit command-period. This is handy, but
>I wonder if there are situations where this is dangerous. My best guess is
>that the worst that can happen is that you might miss a FlushVol call to the
>disk that was requested, which is no big deal if the disk was on the way to
>the re-cycle box.
>
If you Command-. a disk switch box, the I/O call that was running will
return an error -53: volume off line. (You can also get a -53 error if you
do an asynchronous I/O call to an off-line volume.)
In most cases, this will result in an alert from the application.
(Sometimes you will get a bizarre message, however.) If you cancel a
FlushVol, then the disk will not be updated. If you do this when the
application is trying to load a resource (some CODE, for example) then the
application is likely to crash.
I wouldn't get into the habit of using this feature, but if the disk doesn't
exist anymore, then you have nothing to lose by trying it.
--
Larry Rosenstein
Object Specialist
Apple Computer
AppleLink: Rosenstein1
UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET
Technical Details
Message-ID:
<363@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!voder!apple!lsrReferences:
<1716@batcomputer.tn.cornell.edu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: Is is safe to veto disk re-insertion prompts? Message-ID: <363@apple.UUCP> Date: Mon, 8-Dec-86 13:36:09 EST Article-I.D.: apple.363 Posted: Mon Dec 8 13:36:09 1986 Date-Received: Mon, 8-Dec-86 21:47:40 EST References: <1716@batcomputer.tn.cornell.edu> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Development Group, Apple Computer Lines: 31