From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OL+sKY2+iWBlDQAAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 21:59:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QOBkJY2+iWB4WAAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 19:59:09 +0000 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 1B50015266 for ; Wed, 28 Apr 2021 21:59:09 +0200 (CEST) Received: from localhost ([::1]:53882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbqKy-0006Wt-4C for larch@yhetil.org; Wed, 28 Apr 2021 15:59:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbhxD-0006YQ-Mq for help-guix@gnu.org; Wed, 28 Apr 2021 07:02:03 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:36671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbhxB-00057o-S0 for help-guix@gnu.org; Wed, 28 Apr 2021 07:02:03 -0400 Received: by mail-pg1-x529.google.com with SMTP id j7so35038440pgi.3 for ; Wed, 28 Apr 2021 04:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:message-id:references:date:in-reply-to :user-agent:mime-version; bh=Xh2JQ9+WTn2mkDfRvT+aQaEIs2nu1CzqqIOXPLSCKOQ=; b=H4YxmM+oRSwOSaWVXPHBoJhAzTsUtml/mDqkwLqzHzQBDIeygYkH972O5LbO6iVx4C 3VGzTnZlmE4HzNentoQuIoAaJdss+3epIP4bRxrMNn8NL6S2U0VR0ojsaHFmByhDfbRa mNXusEoDNoZQ8C7R33ZgMgVOIpSfIiiUa1K4gdnhIg8Y5Czq3w3InfoT7FbJFdukao+F EJmhpY5D/F3Lwo6wvtLT70zGfdBFZbj4zqYHpiqwaaCvBVy90JiSrDb4wnIDxIinU3cS 467fKx9mMfn92F3MuJCCZPJWTCB36KFpJfOMwxacwhAjTcfHDP5Vd5/81YiGfJQUpXAE SqKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:message-id:references:date :in-reply-to:user-agent:mime-version; bh=Xh2JQ9+WTn2mkDfRvT+aQaEIs2nu1CzqqIOXPLSCKOQ=; b=G9D/nP1pEeAOCJVKFwgE9zYVS3n9Nm9QYs3jnZYz2reLWcNboEF2ffPKnskMViXqb1 1sggjcG7DMiCmOBSWB0CclLl9hlakUzYtbt0WX8L3H24xitg+t1nK43km5U9/m7Gm3iY aTT3IPNW2dc7Hkat/RO14MKY7wDzof4tk93WUtbj+zyMke6W5Uaxfh6A5Ju6lMqBypl2 BlFRRZFF++Wt5/0V36JiXlTI9f55PqFQ8OllHmcP/E6K3c7Np5lOiJuNL51Uqq9/8bUz QEkRmGmAnvgoE1kZNobiAaoMh7K/dRutmjMMQbWaJerWdvw3QhUxKmcM1wfwxseu5+0t 0xjg== X-Gm-Message-State: AOAM531mPZOXhEZFsW0H4No25HYFWkuld7CP7kp0ap5/ks9gyJ+C465m aZF2N7+Dp8uRBijyc8MVwyQ= X-Google-Smtp-Source: ABdhPJyYqq4mip7COXH5z8OuiZDJpBJ01RIGR0Irp9aT0yvNlbEVun9Kj9pl6FN0he5HjgeSWYhmTQ== X-Received: by 2002:a63:da55:: with SMTP id l21mr7584779pgj.188.1619607719538; Wed, 28 Apr 2021 04:01:59 -0700 (PDT) Received: from localhost ([43.230.65.99]) by smtp.gmail.com with ESMTPSA id p12sm4859789pjo.4.2021.04.28.04.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 04:01:59 -0700 (PDT) From: Utkarsh Singh To: Sergiu Ivanov Subject: Re: Installing file outside package in /etc Message-ID: <87pmyebrrc.fsf@gmail.com> References: <87r1izvj17.fsf@colimite.fr> Date: Wed, 28 Apr 2021 16:32:04 +0530 In-Reply-To: <87r1izvj17.fsf@colimite.fr> (Sergiu Ivanov's message of "Sat, 24 Apr 2021 16:44:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=utkarsh190601@gmail.com; helo=mail-pg1-x529.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 28 Apr 2021 15:56:31 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619639949; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Xh2JQ9+WTn2mkDfRvT+aQaEIs2nu1CzqqIOXPLSCKOQ=; b=fok0I9HPTEWWzNmofAO7PI6fHD+vslXlqctY+Msx3P/OKyKyO4TWWfvFHvgDG/GX7jXZE4 h1cTdaaXcCTDJ79gezR3lZLE+BIPH41vZO1cKkZ8XvG4KPOeevkKUJIEJGs9IGiwsj8VBx 0rj+upiZjcI0iTw210aM6gss2SNfH4omc7zjPtJFD2NIF7Bm/mJnFAEbP0I82CnMvEb/Vs HaQ4STHFULqCPcgDeRcar0KPAPLGDajCSBTGv/MkC/bN69kio0zZnUYZbzmWtPO6qH5E7d Uz5bEAtzXMRKDiYFkBxgu4lerTlgdKZxC+HZwxyRVbOX4GS4LRjbzCUgV3at3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619639949; a=rsa-sha256; cv=none; b=MR00qlI5toDBfetY7FPbMenJeTYJhzW/sRiBcV/lweUlxdkSs6AjLvn89jUrFMPlR8UNxk eYWoSBCqJ2TY/doZaycx+YqZMTi01MFbH8rwP/H7mD4ZwX7BK0aZ5z1Mbl8OMISY6GyOUW bGl+0/r2feSwlEinMJlqauiF5Ol5RXCl+pYhpqGAgB7ovwFtpbnEbil1bSY+/imc62l9gG HbuyHfALITXBF2iCSAH005X6d9nQpv4iuVllrMSakDOe1rIoY+Wq2qKGiTRWJp6adCHhks haWJdEpMD5LR8WEbdtiNB8BkHGird8rHhSDlNx7tGHSWXPHUJlyhbTFH9gi22w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=H4YxmM+o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=H4YxmM+o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 1B50015266 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: i0c0DzNrTYMD Hi, On 2021-04-24, 16:44 +0200, Sergiu Ivanov wrote: > Note however that /etc/hostname appearing to be a normal file may be > misleading, since it may also be a hardlink to a file in the store. > It is beyond my knowledge/motivation to figure out whether it really is > or not :-) You can make use of GNU Find utility to find more than one file that refer to the same file on a file system, i.e., to the same inode. For example to search for same file as /etc/hostname in /etc directory you can use: $ find /etc -samefile /etc/hostname You can read more here: https://www.gnu.org/software/findutils/manual/html_mono/find.html#Hard-Links -- Utkarsh Singh http://utkarshsingh.xyz