site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=pKHWYAAtlMM/bb8Bcn4uU6dVEShu4TPEcgCx78Y0wFbb31dtPuhDnxfIVStsGji+jnDSaIxmiuj//Lz8qxYJ2FeDdkisHNMa3EziCc4D3x9O5pOPL+Z4Jiw/F/nWxuoUsK5RPvsKFC6ksQvCJYwbSmLc4+m5GPtRWf4e4/KDZrc=; On Oct 1, 2008, at 8:00 PM, Chris Idou wrote:
A couple more questions:
1) How do permissions work? I notice that the system seems to stop you doing dangerous things like hardlinking /System to somewhere, even as root, but its not clear why this case is different.
Can't shed any light on that. As someone else has mentioned, directory hard links should effectively be considered SPI. If you want help understanding them so you can work better with TimeMachine, that's great. If you think you can use them to solve some other unrelated problem, then your making a mistake and should reconsider what your trying to do.
2) I notice that once a directory has been hardlinked, it is forever tainted in some fashion. If I hardlink a directory somewhere, then unlink the 2nd link, then the original directory can never be trashed in the Finder for example. Such an attempt will fail, even though it is apparently no different to any other directory. Can anyone enlighten me about this?
Yes, that's true. The first time a directory is hard linked, both directories become hard links. Once something is hard linked, there is no concept of the "original" directory, just 1 or more hard links. Not sure why the finders failing- I'd have to give it a try and look into it further. At the very least, you should probably file a bug. -Kevin Elliott kelliott@mac.com http://web.mac.com/kelliott/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com