🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2181

Re: How to request that workspace execute 'eject'?

#2181
From: Bob Vadnais
Date: Tue, 05 Jan 1993 01:52
20 lines
1216 bytes
In article <1i8ujsINNljg@shelley.u.washington.edu> 
zeno@phylo.genetics.washington.edu (Sean Lamont) writes:
>
> Is there any way to request that the workspace request the
> current removable-media disk in the drive?  Because of
> file permissions (and not wanting to run the program with
> root permissions) I can't use DKIOCEJECT. 

If you're using 3.0, this is another job for 
NXWorkspaceRequestProtocol.  Use the method  
(BOOL)unmountAndEjectDeviceAt:(const char *)path.

Cheers,
Bob

(UTFDL?)
--
Bob_Vadnais@pdh.com (NeXT Mail welcome)
PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034
Voice: (408)428-9596  Fax: (408)428-9599
Technical Details
Message-ID: <C0CyIw.60L@pdh.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh.com!news
References: <1i8ujsINNljg@shelley.u.washington.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!pdh.com!news
From: Bob_Vadnais@pdh.com (Bob Vadnais)
Subject: Re: How to request that workspace execute 'eject'?
Message-ID: <C0CyIw.60L@pdh.com>
Sender: news@pdh.com (USENET News Account)
Nntp-Posting-Host: alpine
Reply-To: Bob_Vadnais@pdh.com
Organization: PDH, Inc.
References: <1i8ujsINNljg@shelley.u.washington.edu>
Date: Tue, 5 Jan 1993 01:52:08 GMT
Lines: 20