home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.misc:15617 comp.sys.mac.programmer:14675 comp.sys.mac.system:11374
- Newsgroups: comp.sys.mac.misc,comp.sys.mac.programmer,comp.sys.mac.system
- Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
- From: d88-jwa@dront.nada.kth.se (Jon W{tte)
- Subject: Re: Aliases (was Re: # of files)
- In-Reply-To: sdorner@qualcom.qualcomm.com's message of 28 Aug 92 13:19:41 GMT
- Message-ID: <D88-JWA.92Aug28193753@dront.nada.kth.se>
- Originator: d88-jwa@dront.nada.kth.se
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: dront.nada.kth.se
- Organization: Royal Institute of Technology, Stockholm, Sweden
- References: <1992Aug27.143819.11599@sunfs3.Camex.COM>
- <1992Aug27.220740.2524@qualcomm.com>
- <1992Aug28.175934.10435@waikato.ac.nz>
- <1992Aug28.131941.19238@qualcomm.com>
- Date: Fri, 28 Aug 1992 18:37:53 GMT
- Lines: 37
-
- > sdorner@qualcom.qualcomm.com (Steve Dorner) writes:
-
- Other than that, I don't buy Apple's arguments about how wonderful
- aliases are. The choice, in particular, to prefer directory ids (something
- the user can neither see nor control) to pathnames (full or relative,
- UNIX gives you your choice) strikes me as unfortunate.
-
- Aliases have room for growth. I added a special feature that
- stores a relative path for items on the same volume as the
- "relative" alias pointer (which has never worked too well for
- me) and use wrapper functions to check for this, text-based,
- relative path first and fall through to the alias manager if
- it doesn't work.
-
- Not too much code, and works nicely; mounts remote file servers
- when you want them too, and keeps "local" stuff reasonably simple
- to switch around.
-
- Anybody who has ever written a mac program that has to deal with files
- except in a standard file context understands just how insane the Mac
- filesystem is--Cub scouts everywhere should be glad that the filesystem
- doesn't have a crawl space. Aliases are allowing just a little of that
- madness to show.
-
- I don't think it's too hard; you must be doing something wrong.
- Write four wrappers for PBGetCatInfo, and use FSSpecs for storing
- info, and you'll be a happy camper (you can use the FSSpec structure
- under 6.0 as well, but not the calls...)
-
- UNIX symlinks with a mount capability would have been cleaner, IMHO.
-
- Nope, I love to rename files and still have aliases point to them.
- --
- - I have decided that it is not boxes but my lack of skill that's the problem.
- - Traitor! This kind of attitude will get you nowhere around here. If you must
- know, it's not your boxes that are the problem, it's your lack of a
- sufficient number of boxes. Go out and buy something.
-