From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2BN7JftFiWBRggEAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 13:24:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AI8xIftFiWAkfwAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 11:24:43 +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 611DE21EC7 for ; Wed, 28 Apr 2021 13:24:42 +0200 (CEST) Received: from localhost ([::1]:37724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbiJ7-0007bU-EN for larch@yhetil.org; Wed, 28 Apr 2021 07:24:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbi0s-0000yJ-8U for help-guix@gnu.org; Wed, 28 Apr 2021 07:05:50 -0400 Received: from marvid.fr ([163.172.81.107]:52946 helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbi0q-00075H-4s for help-guix@gnu.org; Wed, 28 Apr 2021 07:05:49 -0400 Received: from localhost (schwifty.marvid.fr [51.159.4.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id DBF075195C15; Wed, 28 Apr 2021 13:05:37 +0200 (CEST) References: <87r1izvj17.fsf@colimite.fr> <87pmyebrrc.fsf@gmail.com> User-agent: mu4e 1.4.15; emacs 27.2 From: Sergiu Ivanov To: Utkarsh Singh Subject: Re: Installing file outside package in /etc In-reply-to: <87pmyebrrc.fsf@gmail.com> Date: Wed, 28 Apr 2021 13:05:37 +0200 Message-ID: <87zgxizn26.fsf@colimite.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=163.172.81.107; envelope-from=sivanov@colimite.fr; helo=courriel.marvid.fr X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FORGED_SPF_HELO=1, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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=1619609083; 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; bh=0Vb6aM+v5apN+YiK7h1GR7QcBPhgyO0/6QKrB6ZY2vo=; b=Ef5ZHgqXBmuudaQnag+Yu/volIg07207N866LN4LzRR+YZtCJ45jwPwqVWbqc5wwhAfEQD 7E2DXmt362HRRRsEOnOmxvx66wDGTgFMI/VqiZhsI805i5BLw+20E5OMyyqfc0h6D4kuVM BSHQHNb+ADMnfJbGKbscZwYRIBhEMxQrFx0rmk3SfWQykmjjYOdOGwMBUPv2QPecsSbawi 0mgm8SLynmgQfkfCMpRwkJllSvDIHzzXWLBssd5s7NCr7b1FCsZdOy9O10QKPLMgPB4s6D JXcrwuj+gYKzkla3+KgKFSB+T0itW4zr1988CBwYVlgK92+PyJWaaMVKAauhLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619609083; a=rsa-sha256; cv=none; b=QMcd+PnT+wUp+B8+1/8iXM7Dzse2WWsisF2/pWu9XSu/2LaBqnnz8v7RQtHAHOsbCcoA7O j9ycn4ANAPSa/dLKMa0ucc18dC+YpPJIzQ2TOSkL3MyOaI38VCqQHXUOXsCJ32+bnNKhjS zd+pGtor/vQHkPixDNhW0WrV/mQCGVad9bjbl+E2ixdJpfTtGDn6ihzxNP0xN69trUNsv2 P8vLT54+NGYngjEgsa2tgI09p2HArRlPwxqmLb8qHMiyIsvJ4hG2z0Sl12LTDu/RJzosyM JsSYDs0FE5LOUpq6wRWIhk+cxIHdkFlZkAYS55kGXNN8urBdyfkb7jogjioDIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 611DE21EC7 X-Spam-Score: -2.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: ClRCHnYXDE2I Hi, Thus quoth Utkarsh Singh on Wed Apr 28 2021 at 13:02 (+0200): > 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 Ah, nice, thanks! I had no idea find could help with that! - Sergiu