Newsgroups: comp.sys.mac.system Path: utzoo!utgpu!watserv1!watcgl!pmbergla From: pmbergla@watcgl.waterloo.edu (Per Bergland) Subject: Re: Alias resolution: right or wrong? Message-ID: <1991Jun3.213402.24161@watcgl.waterloo.edu> Organization: University of Waterloo References: <1991May31.170319.1179@neon.Stanford.EDU> <13808@goofy.Apple.COM> <13848@goofy.Apple.COM> Date: Mon, 3 Jun 1991 21:34:02 GMT Lines: 29 In article <13848@goofy.Apple.COM> lsr@Apple.COM (Larry Rosenstein) writes: >In article <13808@goofy.Apple.COM> rmh@apple.com (Rick Holzgrafe) writes: >> >>The canonical "address" of a file is a triplet of >>. This is the method of choice (here I'm >>guessing! I'm not a guru on this) because folderIDs are unique (forever) > >According to IM 6, when you create an alias to a file, the system creates a >file ID for the file. The file ID will let the alias track the file >anywhere on the same volume even if it has changed name. (The file ID is a >unique ID for files, in the same way that the dir ID is a unique ID for >directories.) > >The alias does store the information about the name of the target (probably >by volume name, dir ID, and filename). If you do Get Info on an alias, it >will show the path to the target, based on the information stored in the >alias. If you click Find Original, then the alias is resolved and that >information may need to be updated. But what I don't like is the following: If you have an alias to the cool game you just wrote and compiled, delete the application, recompile it, and then do a Get Info on the alias, this will show the correct path and name that you want (e.g. HD40SC:Cool:.Non-Debug Files:HejSvejs), but pressing Find Original gives you the prompt "Can't find file"(or something like that). OK, OK, its only my opinion... -Per