home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14858 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!lambda.msfc.nasa.gov!NewsWatcher
  2. From: steve.herman%express@freedom.msfc.nasa.gov (Steve Herman)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Question: Unmounting server volumes
  5. Message-ID: <steve.herman-010992164132@128.158.4.199>
  6. Date: 1 Sep 92 21:49:33 GMT
  7. Sender: news@lambda.msfc.nasa.gov (Newsmaster)
  8. Followup-To: comp.sys.mac.programmer
  9. Organization: BCSS
  10. Lines: 35
  11. Nntp-Posting-Host: hermasj.msfc.nasa.gov
  12.  
  13. Hello everyone,
  14.  
  15.    I'm having a peculiar problem when attempting to unmount server volumes
  16. using PBUnmountVol.  
  17.  
  18.    If an application is running off of the server volume I get error -47
  19. fBsyErr (file is busy).  That's OK.  If I quit the running application the
  20. error goes away and PBUnmountVol works.
  21.  
  22.    However, if a file from the server volume is in the trash, I get the
  23. same -47 error.  But when I then either empty the trash *OR* select the
  24. item in the trash and choose "Put Away", and again call PBUnmountVol the
  25. -47 error remains.
  26.  
  27.    I can drag the server to the trash from the Finder and it unmounts OK. 
  28. But I can't get it to unmount from my application?!?
  29.  
  30.    A co-worker seems to think this problem may be related to open Working
  31. Directories which still point to the server volume.
  32.  
  33. MY QUESTIONS:
  34.  
  35.    What do I need to do to clear this error?
  36.  
  37.    Also, the Finder can differentiate between "open files" and "files in
  38. the trash" because you get a different alert message when unmounting in
  39. these situations, can I do this too?
  40.  
  41. Thanks in advance...
  42.  
  43. ----------------------------------------------------
  44. - Steve Herman - BCSS
  45. - Boeing Computer Support Services
  46. - Huntsville, AL
  47. ----------------------------------------------------
  48.