home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18785 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!friedman
  3. From: friedman@netcom.com (Greg Friedman)
  4. Subject: Determining dir type
  5. Message-ID: <1992Nov22.210451.8950@netcom.com>
  6. Keywords: help directory floppy hd ashare
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Date: Sun, 22 Nov 1992 21:04:51 GMT
  9. Lines: 30
  10.  
  11. Given a dirID and a vReNum, I need to determine the type of
  12. volume I am looking at.  Specifically, I need to determine
  13. if a directory is on, or is the rootDir, of the following:
  14.  
  15. Hard disk
  16. floppy
  17. other removeables
  18. AppleShare server
  19. mounted appleshare folder
  20. shared appleshare folder
  21.  
  22. Any help is appreciated.  I can make an educated guess at whether
  23. the volume is a floppy or hd based on vol size, but what about
  24. the appleshare directories?  Any suggestions on the type of
  25. logic I should use to determine floppy vs. hd?
  26.  
  27. E-mail answers preferred.
  28.  
  29. Thanks in advance!
  30.  
  31. Greg Friedman
  32. -- 
  33.  
  34.  
  35. --------------------------------------------------------------------------------
  36. Greg Friedman                              "He who has a why to live for
  37.                                             can bear almost any how."
  38. voice: (408) 475-2606                               - Nietzsche
  39. internet: friedman@netcom.com
  40. --------------------------------------------------------------------------------
  41.