Re: Hard links to directories
site_archiver@lists.apple.com Delivered-To: darwin-kernel@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=LHITqDfg6TlrzxBPqf651ywKS2d7cL8x9HKFUguY7Zs=; b=wYCT/gyZIAy+ftfkMXLLf09MFGV2Z3Ur3HkOFnSEhEtCgK6tEG92wyWAfwjyzk4bKm 3Jpugzhr0a2dK14Euhcq4+SxUpmj/UGSog+13r8pHg04ybUhzjZF6xY5YOZlazzHUQOK 7P6p5DUMs4cBYV1HG5KDWYL0+ZPfWEIJ4wK68= 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=LEdXXdfWR8U8V3wVxWkbnpo+QEOrbsmkKSbG4yBuigvyEGdLZ0JR7Ed5bZNyZcloGY nveLMFdvuAnnAHcIoI1NdvC2pwyMpZNe5cryImAnkOoJ0lOKVrauxJZOm47LPHIfRlqH sAlt1uSDJRfKbtQwtLOgmRHYEO/aes8nSeHIM= Hi chris yes as you noticed traditional tools are not abble to detect or handle it a hardlink anyway you should create your own tool to list the attrs there is a flag set also as you noticed there is a lock from the finder it is a good point for the health of a tm volume discouraging people to do some operations is always a good point it also why traditional tools don't handle hard links this is an old topic in the nix history there are some advantages but also a lot of problems regarding hard links On 10/1/08, Chris Idou <idou747@yahoo.com> wrote:
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/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ 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
participants (1)
-
mm w