home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!kip-16.taligent.com!user
- From: keith@taligent.com (Keith Rollin)
- Subject: Re: How to store file references/names ?
- Message-ID: <keith-171192140554@kip-16.taligent.com>
- Followup-To: comp.sys.mac.programmer
- Sender: usenet@taligent.com (More Bytes Than You Can Read)
- Organization: Taligent
- References: <1e5fvgINN835@uni-paderborn.de> <1992Nov15.172919.10970@netcom.com> <40561@unix.SRI.COM>
- Date: Tue, 17 Nov 1992 22:13:06 GMT
- Lines: 23
-
- In article <40561@unix.SRI.COM>, mxmora@unix.SRI.COM (Matt Mora) wrote:
- >
- > 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?)
-
- Well, there's a smiley in there, so I guess I don't really need to point
- out that Apple also writes directly to the screen, reads and sets hardware
- registers, examines and changes private fields of data structures, calls
- undocumented traps, parses up the region structure, etc...
-
- Actually, the full pathname in the alias structure is only used as a backup
- in case the dirID fails. Using both a path of dirIDs and names is a very
- powerful technique, and I'm sure Apple wouldn't mind if you decided to
- implement one for your application. However, that's a lot of work, and
- using a dirID is very simple and works 99.9+% of the time (how often do you
- restore a hard disk from tape?)
-
- -----
- Keith Rollin
- Phantom Programmer
- Taligent, Inc.
-