Re: NSFileManager and aliases
Re: NSFileManager and aliases
- Subject: Re: NSFileManager and aliases
- From: Ondra Cada <email@hidden>
- Date: Tue, 16 Apr 2002 08:33:53 +0200
On Tuesday, April 16, 2002, at 12:49 , Charles Srstka wrote:
- 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;
Yes, this is a problem, but hopefully the necessary components will be
updated in the future to mitigate this.
There's a way -- and so far as I can say, only way -- to do that:
integrate aliases on the filesystem level, so that all the low-level calls
(like fopen, open, etc.) are alias-aware the very same way they are
link-aware now. Also, aliases would have to stop using resource forks,
since that alone (not speaking of other things) makes them unuseable: they
can't be archived, copied, etc., since all standard tools (like gnutar, cp,
ftp, telnet, whatever...) know just the standard file. If metadata is
really needed, a file package should be used instead: any standard tool
can cope easily with a folder.
If this was solved, I guess *PERHAPS* they might bring some advantages,
though I am not sure. Alas it seems Apple does not want to go this way,
and thus aliases are, well, just a perpetual grief.
---
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.