🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Sean Lamont Mon, 04 Jan 1993 09:05
How to request that workspace execute 'eject'?
#2174
Author: Sean Lamont
Date: Mon, 04 Jan 1993 09:05
11 lines
1017 bytes
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.

Thanks.

-- 
Sean T. Lamont                           |   "Don't oppress me, It's
zeno@genetics.washington.edu             |    'computer of color!' "
lamont@abstractsoft.com                  |_______________________________
Abstract Software                                                         
Re: How to request that workspace execute 'eject'?
#2181
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads