home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!kip-50.taligent.com!user
- From: keith@taligent.com (Keith Rollin)
- Subject: Re: File IDs, a load on HFS?
- Message-ID: <keith-280193134843@kip-50.taligent.com>
- Followup-To: comp.sys.mac.programmer
- Sender: usenet@taligent.com (More Bytes Than You Can Read)
- Organization: Taligent
- References: <1993Jan28.164626.9825@kth.se>
- Date: Thu, 28 Jan 1993 21:52:49 GMT
- Lines: 24
-
- In article <1993Jan28.164626.9825@kth.se>, d88-jwa@feffe.nada.kth.se (Jon
- Wtte) wrote:
- >
- > Inside Mac says "a new directory tree node is created
- > for each File ID that is created"
- >
- > However, I always assumed files always had IDs under
- > HFS (and that might be the value returned in the dirID
- > field when calling PBGetCatInfo, who knows? :-)
- >
- > Am I correct in assuming that, under HFS, there is no
- > penalty involved in creating a file ID for every file?
- > (I am not concerned about remote volumes)
-
- There is a "penalty." Although there is a file ID associated with every
- file when the file is created, HFS can't search (quickly) using that ID.
- When Inside Mac mentions "creating a file ID," what it really means is that
- it is creating a catalog record that HFS can later use to search for the
- file by that ID.
-
- -----
- Keith Rollin
- Phantom Programmer
- Taligent, Inc.
-