• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager and aliases
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: NSFileManager and aliases
      • From: Malte Tancred <email@hidden>
References: 
 >Re: NSFileManager and aliases (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: NSData question
  • Next by Date: Re: NSFileManager and aliases
  • Previous by thread: Re: NSFileManager and aliases
  • Next by thread: Re: NSFileManager and aliases
  • Index(es):
    • Date
    • Thread