home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!friedman
- From: friedman@netcom.com (Greg Friedman)
- Subject: Determining dir type
- Message-ID: <1992Nov22.210451.8950@netcom.com>
- Keywords: help directory floppy hd ashare
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Sun, 22 Nov 1992 21:04:51 GMT
- Lines: 30
-
- Given a dirID and a vReNum, I need to determine the type of
- volume I am looking at. Specifically, I need to determine
- if a directory is on, or is the rootDir, of the following:
-
- Hard disk
- floppy
- other removeables
- AppleShare server
- mounted appleshare folder
- shared appleshare folder
-
- Any help is appreciated. I can make an educated guess at whether
- the volume is a floppy or hd based on vol size, but what about
- the appleshare directories? Any suggestions on the type of
- logic I should use to determine floppy vs. hd?
-
- E-mail answers preferred.
-
- Thanks in advance!
-
- Greg Friedman
- --
-
-
- --------------------------------------------------------------------------------
- Greg Friedman "He who has a why to live for
- can bear almost any how."
- voice: (408) 475-2606 - Nietzsche
- internet: friedman@netcom.com
- --------------------------------------------------------------------------------
-