SCIENTIFIC-LINUX-DEVEL Archives

October 2018

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for Scientific Linux developers worldwide <[log in to unmask]>
Date:
Mon, 8 Oct 2018 17:12:32 +0200
Reply-To:
"aleksander.baranowski" <[log in to unmask]>
Subject:
MIME-Version:
1.0
Message-ID:
Content-Type:
multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PJloMJMFnBCIHCeZMFgWyPohKTTvTT9eL"
From:
"aleksander.baranowski" <[log in to unmask]>
Comments:
Parts/Attachments:
text/plain (682 bytes) , signature.asc (851 bytes)
Hi,

Sorry for spamming mailing lists once more, but I'm probably missing
something.

So we have this package on called which-2.20-7.el7.x86_64.
The
`rpm -ql which | grep bin` returns:
/usr/bin/which

In the same time, there is `/bin/which` file that according to the
package is not provided with `which`.

then `rpm -qf /usr/bin/which /bin/which` returns
which-2.20-7.el7.x86_64
which-2.20-7.el7.x86_64

Tells us that the package provides this files.
Then
`stat /usr/bin/which /bin/which | grep -o 'Inode: [[:digit:]]*'`
return the same Inode for both files. But
ll /usr/bin/which /bin/which returns number of links that is equal 1. So
it's not hardlinked.

I'm baffled.

Any explanation is welcome.

Bests,
Alex





ATOM RSS1 RSS2