• 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: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target


  • Subject: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 20 Oct 2009 09:49:58 -0700


On Oct 20, 2009, at 5:30 AM, rohan a wrote:

I created a file 1.alias (regular file) and surprisingly
FSIsAliasFile() has recognized it as an alias file. This is such
strange behavior.

Why? Our modern OS uses filename suffixes to determine content types, not antiquated things like filesystem metadata. If you created an empty file "foobar.jpg" it would be interpreted as an JPEG file and open with Preview.


(All sarcasm aside, there is an "is alias" bit in HFS, but I think the Alias Manager isn't relying on it because it can be lost if transferring files across foreign filesystems. Aliases don't have their own HFS filetype code because they need to use the filetype and creator of the original file.)

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
      • From: rohan a <email@hidden>
    • Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
      • From: Glenn Anderson <email@hidden>
    • Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
      • From: Alastair Houghton <email@hidden>
References: 
 >/usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: rohan a <email@hidden>)
 >Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: Juan Manuel Palacios <email@hidden>)
 >Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: rohan a <email@hidden>)
 >Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: Paul M <email@hidden>)
 >Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: rohan a <email@hidden>)

  • Prev by Date: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • Next by Date: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • Previous by thread: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • Next by thread: Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target
  • Index(es):
    • Date
    • Thread