From: Utkarsh Singh <utkarsh190601@gmail.com>
To: Sergiu Ivanov <sivanov@colimite.fr>
Cc: help-guix@gnu.org
Subject: Re: Installing file outside package in /etc
Date: Wed, 28 Apr 2021 16:32:04 +0530 [thread overview]
Message-ID: <87pmyebrrc.fsf@gmail.com> (raw)
In-Reply-To: <87r1izvj17.fsf@colimite.fr> (Sergiu Ivanov's message of "Sat, 24 Apr 2021 16:44:52 +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
--
Utkarsh Singh
http://utkarshsingh.xyz
next prev parent reply other threads:[~2021-04-28 19:59 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 [this message]
2021-04-28 11:05 ` Sergiu Ivanov
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmyebrrc.fsf@gmail.com \
--to=utkarsh190601@gmail.com \
--cc=help-guix@gnu.org \
--cc=sivanov@colimite.fr \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).