site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6vQBccL+imJKZIdIwkOXQefaOD28PeqN4eGZHErkrsU=; b=haQsZU65VI3RgMXEtQ+cB98Ocpd7FqFPd0vM0ddRUCX/vt5GistEIGxpm26HXExdixIOFzZu++EVljMIpqmeQeFtZU0kDndOxEFaqhc8uX5V34ErLwRnwrHI1spLhJGUYIzaodq7brau0xmSeloNcREr5pnFW4GO5BKubxgs8ug= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R4sEdIiHwwy3Cj0xd2Iwkj1qZ8SfNlZeqls2jFIwkP6sHv9dbnGxBcX4Vfk4Sij/mEwZeLAmYtdZQ8UcJiV/8sM2ZfYFlNmWEmsCKBc72tEEWIfB9nr/8DcYgWjlhKFgaJ2p2xSYEMne782QrdaxfbXWtCEuh0srYdujAgx7MuY= On Dec 12, 2007 7:41 PM, Rosyna <rosyna@unsanity.com> wrote:
This is true. And directory hard links are a concept I do not like for various reasons. So, I was really pleased when people at WWDC and other places repeatedly said (or strongly implied) Time Machine used a private function to make directory hard links, that this SPI would not be exposed, and developers should not be making directory hard links.
But alas, if some developer has code that depends on link() failing with EPERM for a directory (they don't check the path first), their code will magically start working on HFS+ on 10.5.
My hope was that time machine would call some super private function (like hfs_super_private_link) that exposes hfs_vnop_link() to do its dirty deeds that no one else could, should, or can call.
It's not my intention to ever intentionally create directory hard links.
i dont know what you're coding, but if you plan for it to be POSIX compatible, your feelings on directory hard links are irrelevant as POSIX specifically marks the capability as implementation defined. if you're just writing an OS X application, then i guess you can take it out on the apple guys. i dont mind ;). -mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com