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=HPYQw4SlLYfc21mkAcUEOx2dEscRIdOkoM/L8LMZ2YIJl0Flk2vpfF3w4zqGyTfLmnTie4bCgT1if6WOL2CffLhl/eUnofLvKpEnnPBa6h+P8BKV8Ajb0eHRD5iljis7sm1WaOSs014lp5gud8Zb/9E61W76ZQ2eTR1p4ESBFN0=; 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. 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? --- On Wed, 10/1/08, Chris Idou <idou747@yahoo.com> wrote:
From: Chris Idou <idou747@yahoo.com> Subject: Hard links to directories To: darwin-kernel@lists.apple.com Date: Wednesday, October 1, 2008, 7:25 PM OS-X 10.5 now allows you to hard link directories.
However the link count of the directory seems to behave in the conventional unix way. i.e. it is the number of directories contained in that directory + 2 for "." and "..".
Is there a way to find out the link count for directories, or to otherwise discover if a particular directory has hard links?
_______________________________________________ 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/idou747%40yahoo.com
This email sent to idou747@yahoo.com
_______________________________________________ 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