• 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: rohan a <email@hidden>
  • Date: Thu, 22 Oct 2009 10:14:19 +0530

I see that FSResolveAliasFile() fails when its cannot find target of
the alias with the error fnfErr. In case of a file with a .alias
extension which is not an alias file, could I use this error return
value ?

On Wed, Oct 21, 2009 at 3:49 PM, rohan a <email@hidden> wrote:
> My aim here is to know when I backup what the alias file points to and
> then backup the alias file along with the name of the file it points
> to.
> Just like a symbolic link, where we need to know what it points to.
>
> On Wed, Oct 21, 2009 at 10:03 AM, Keith Stattenfield
> <email@hidden> wrote:
>>
>> On Oct 20, 2009, at 9:04 PM, rohan a wrote:
>>
>>> This looks good.
>>>
>>> However, with a backup application, I would typically be using
>>> FSIsAliasFile() to identify an alias and then use FSResolveAliasFile()
>>> to resolve it. However,here the FSResolveAlias() file would fail
>>> causing issues. Need to deal separately with these cases
>>
>> In general, you'd backup the contents of the alias file, not what it points
>> to, because there's no guarantee that you can resolve the alias -- it might
>> be to an item on a file server that isn't accessible, or to an un-mounted
>> local disk, or to an item that you'd need a password from the user to
>> resolve, or even be an alias to an item which has been deleted.
>>
>> -Keith
>>
>
 _______________________________________________
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: Paul M <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>)
 >Re: /usr/lib/charset.alias file identified as Alias by FSIsAliasFile(), FSResolveAliasFile() fails to get the target (From: Jens Alfke <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: Keith Stattenfield <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: Application Usage/User Stats/Events
  • 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