Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Ondra Cada <email@hidden>
- Date: Mon, 15 Apr 2002 23:32:33 +0200
On Monday, April 15, 2002, at 10:47 , Charles Srstka wrote:
I don't get it. Why do you hate aliases so much?
since they bring so much grief, that's easy answer. No other new OSX
"feature" costed me so much time and work as them.
They offer some nice features and flexibility that symlinks do not. The
only real drawback is that some API's haven't been updated to support
them yet...
There are more problems, some of which are real PITA.
- aliases are not supported by any API on the world save Carbon. In other
words, NO script, NO standard unix tool, NO posix program, almost no Cocoa
tool (unless written in Carbon partially), just NONE works properly if
they are used;
- aliases try to be too smart, with quite disastrous results sometimes:
one very nice situation is when one trashes old application, install a new
one at the place, and tries to run the app using Dock!
- aliases (just like hardlinks) can't be folder-relative, and thus cannot
be archived properly (ie. so as when the whole folder is unarchived
elsewhere, the link still references the appropriate newly unarchived file)
;
There's more, but I am afraid there is no point in explaining this. I've
done that many times already, in vain.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.