From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6LFeKsty6mad+QAA62LTzQ:P1 (envelope-from ) for ; Wed, 18 Sep 2024 06:27:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6LFeKsty6mad+QAA62LTzQ (envelope-from ) for ; Wed, 18 Sep 2024 08:27:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b=QUt+rkVF; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=proton.me ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726640843; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=QI4pFpuZmpcfMFQrnvh8gQpU28A+j4kJwgsV9spy7FA=; b=H4DzN9LFZNiiexVRIeEGvkWNg1Dhm7d6DdXzYsPgGfKJVdXhbFFAaY8MikJw+JFOJTjqAz Po4HFHvvSpWOeQmWDy6c2fUbIPat8L4m4FxlzjxQlsgiychtQpY2rQiahWsLvCMfqR5SBo 2WDA24JXDcamSQybREop2jC5TavtAo2X7et9pLLwuD7Qr05HkBqpfI2yJGaQt2FEKvCiDO Z28ydn945Bktz399ZyE8xoJ190JEFVDmhX+3pnS+XrH9h+/o7yu/45vzkqInnsgFi/JV7R e7niYTQpfBTZD0WdE2Y7TR5ZHtW6GwvIBE680i6iwRT9UORKw1jXXWem5FAZjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=proton.me header.s=protonmail header.b=QUt+rkVF; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=proton.me ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726640843; a=rsa-sha256; cv=none; b=g8Zvz2SQD9Tm/pEBgA8gV85mVH6GXZeD3fFfi9Sb4n/jlhc9uI1lFEObiwqBAB1IgE2SHi T1nsrdh5+wjWj2xl9I/fWLrVgaLZQzueEba0HwORLFiREuz/McErOk8loxBrJvffMTOU0t yx6Zz2bApuWG/p+hbrELSoCMUG1q6z4zVYuMUZxa5uhS096ns9OwIZzUL+xXMQ/0jlZLzi i/x/rS0cQZmJUwwGYosYaRSDR+F/aAwwgpACu2lPIsQakiBZmfxuxEN52OpiZtoPD6MAFR IYZ8vRNOwYwJg6Yw5MoqxrdACUkt4Zd7PIiARFwepM4LZHahLGSsT7wNxyFLiA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68B85681DD for ; Wed, 18 Sep 2024 08:27:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqo91-00082p-Jf; Wed, 18 Sep 2024 02:26:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqjhU-0006K3-G6 for help-guix@gnu.org; Tue, 17 Sep 2024 21:41:48 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqjhS-0007iu-1X for help-guix@gnu.org; Tue, 17 Sep 2024 21:41:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1726623702; x=1726882902; bh=QI4pFpuZmpcfMFQrnvh8gQpU28A+j4kJwgsV9spy7FA=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=QUt+rkVFOapH6qvic6kSzBe5eX5o5oKxGm7N1xJ1eGpRPuhMeLiTO/up9pe5JTVdG 6/7VG2dcoMqlfBioEwnUdgH5/FK8XnTZNi22u/augDqLYVytoCWChsBYEwwQvuxR/c B8g+1GAc/F9b2K5YjbjMLfFZHuHZkUxaLy5XGhMEZMpF4lfFR0UDMPrNJNog2VQ7o4 +qPyh8cYxLK2Xv+HnmRWGO711ayzbJctC+wWItAMjey5wT+Vu4Jxd9ISuIY6vQCY9q mWdXmZfaT4M4w7Y4Hustj27vRaVQfzjIOmd7ARfLVNs2V4KAEdnaqH5y3xvQrfEhqC kcsiVmiXKpL2w== Date: Wed, 18 Sep 2024 01:41:36 +0000 To: "help-guix@gnu.org" From: "amano.kenji" Subject: Direct symlink farm for transitive dependencies vs search paths Message-ID: Feedback-ID: 48725158:user:proton X-Pm-Message-ID: 48fbf07ab011caf082dd7c2ebfb58d9199f94b20 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.19; envelope-from=amano.kenji@proton.me; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 18 Sep 2024 02:26:28 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 68B85681DD X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -7.75 X-Migadu-Spam-Score: -7.75 X-TUID: 70kg2+kS0iou Let's say that A depends on B, and B depends on C. With search paths, A doesn't have symlinks to B, and B doesn't have symlink= s to C. Thus, disk space is saved. However, adding search path patches to existing softwares is cumbersome, an= d a long list of search paths results in inefficient searches. Let's assume that B has symlinks to C, and A has symlinks to everything in = B. This means A has symlinks to symlinks in B. Transitive symlink is probab= ly more efficient than search path. If A just copies symlinks from B and ha= s symlinks to plain files in B, then A ends up with only direct symlinks. D= irect symlinks are more efficient than transitive symlinks. It seems that search paths are preferred over symlinks to transitive depend= encies in gnu guix. Why?