home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!bcm!lib!mdarpi1.mda.uth.tmc.edu!draper
- From: draper@odin.mda.uth.tmc.edu (E.J. Draper)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: How to store file references/names ?
- Message-ID: <7893@lib.tmc.edu>
- Date: 17 Nov 1992 16:17:14 GMT
- References: <1e5fvgINN835@uni-paderborn.de>
- Sender: usenet@lib.tmc.edu
- Organization: U.T.M.D. Anderson Cancer Center
- Lines: 30
- Nntp-Posting-Host: mdarpi1.mda.uth.tmc.edu
- X-UserAgent: Nuntius v1.1.1d12
- X-XXMessage-ID: <A72E78578D01019A@mdarpi1.mda.uth.tmc.edu>
- X-XXDate: Tue, 17 Nov 92 16:22:15 GMT
-
- In article <40561@unix.SRI.COM> Matt Mora, mxmora@unix.SRI.COM writes:
-
- >And anyone that looked into a alias can tell you that it does contain
- >the full path name. Damn you Apple! :-) (Do what I say not as I do. For
- years
- >Apple has been bellowing: "don't use full pathnames" What did they end
- up
- >using for aliases?)
-
- So? Why shouldn't they? Programmatically FSSpecs are great, but are
- utterly useless when things breakdown or when dealing with the Alias
- Manager's idiosyncracies. Say, for instance, we need to move 2.4
- gigabytes of patient Images from our local RAID storage system to
- permanent storage on our UNIX server. In the process ALL ALIASES
- referencing files on the RAID will be INVALIDATED but the volumes'
- structure will be identical. Well, what do we do now? How does the
- physician's conferencing software find a patient's scan?
-
- All we need to do is call GetAliasInfo(). From this we can obtain the
- full path name that was stored in the Alias handle. If Apple hadn't
- bothered to use and store the original path name we'd be totally out of
- luck!
-
- Good Apple. Good Apple. ;-)
-
-
- |E|J- ED DRAPER
- rEpar|D|<- Radiologic/Pathologic Institute
- The University of Texas M.D. Anderson Cancer Center
- draper@odin.mda.uth.tmc.edu
-