From: Sergiu Ivanov <sivanov@colimite.fr>
To: Utkarsh Singh <utkarsh190601@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Installing file outside package in /etc
Date: Wed, 28 Apr 2021 13:05:37 +0200 [thread overview]
Message-ID: <87zgxizn26.fsf@colimite.fr> (raw)
In-Reply-To: <87pmyebrrc.fsf@gmail.com>
Hi,
Thus quoth Utkarsh Singh on Wed Apr 28 2021 at 13:02 (+0200):
> Hi,
>
> On 2021-04-24, 16:44 +0200, Sergiu Ivanov <sivanov@colimite.fr> 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
prev parent reply other threads:[~2021-04-28 11:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 9:30 Installing file outside package in /etc phodina via
2021-04-24 14:44 ` Sergiu Ivanov
2021-04-28 11:02 ` Utkarsh Singh
2021-04-28 11:05 ` Sergiu Ivanov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgxizn26.fsf@colimite.fr \
--to=sivanov@colimite.fr \
--cc=help-guix@gnu.org \
--cc=utkarsh190601@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.