home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 7982 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.2 KB  |  34 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: 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
  3. From: Bob_Vadnais@pdh.com (Bob Vadnais)
  4. Subject: Re: How to request that workspace execute 'eject'?
  5. Message-ID: <C0CyIw.60L@pdh.com>
  6. Sender: news@pdh.com (USENET News Account)
  7. Nntp-Posting-Host: alpine
  8. Reply-To: Bob_Vadnais@pdh.com
  9. Organization: PDH, Inc.
  10. References: <1i8ujsINNljg@shelley.u.washington.edu>
  11. Date: Tue, 5 Jan 1993 01:52:08 GMT
  12. Lines: 20
  13.  
  14. In article <1i8ujsINNljg@shelley.u.washington.edu> 
  15. zeno@phylo.genetics.washington.edu (Sean Lamont) writes:
  16. >
  17. > Is there any way to request that the workspace request the
  18. > current removable-media disk in the drive?  Because of
  19. > file permissions (and not wanting to run the program with
  20. > root permissions) I can't use DKIOCEJECT. 
  21.  
  22. If you're using 3.0, this is another job for 
  23. NXWorkspaceRequestProtocol.  Use the method  
  24. (BOOL)unmountAndEjectDeviceAt:(const char *)path.
  25.  
  26. Cheers,
  27. Bob
  28.  
  29. (UTFDL?)
  30. --
  31. Bob_Vadnais@pdh.com (NeXT Mail welcome)
  32. PDH Inc., 2635 North First Street Suite 224, San Jose, CA 95134-2034
  33. Voice: (408)428-9596  Fax: (408)428-9599
  34.