• 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: Generic creation of a symblic link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generic creation of a symblic link


  • Subject: Re: Generic creation of a symblic link
  • From: Shantonu Sen <email@hidden>
  • Date: Thu, 11 Oct 2012 17:55:53 -0700

So, Um. What are you trying to do. There is no semantic in OS X for rewriting symlink targets without recreating the symlink.

Shantonu

On Oct 11, 2012, at 5:50 PM, James Bucanek <email@hidden> wrote:

> Jim Luther <mailto:email@hidden> wrote (Thursday, October 11, 2012 5:30 PM -0700):
>
>> symlink files are created in a single step by symlink(2). It's not a multi-step process in user-land code -- it's a single call into the kernel.
>
> Which also means the source for symlink is probably in the kernel somewhere...
>
> So, if I can't figure out a simple way of obtaining the symlink's data before creating it, then I should be able to call symlink() with an empty or placeholder string (i.e. ".") and then rewrite its content later.
>
> --
> James Bucanek
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Generic creation of a symblic link
      • From: James Bucanek <email@hidden>
References: 
 >Re: Generic creation of a symblic link (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Generic creation of a symblic link
  • Next by Date: fcntl(fd,F_SETSIZE,?)
  • Previous by thread: Re: Generic creation of a symblic link
  • Next by thread: Re: Generic creation of a symblic link
  • Index(es):
    • Date
    • Thread