Re: RH rpms, and installing using hardlinks vs symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Sieb wrote:
> On 03/09/2018 01:27 AM, Robert P. J. Day wrote:
>>    that was my understanding -- as long as the files are within
>> precisely the same directory, hard links could still be used, but any
>> cross-directory links (even if within the same filesystem) will use
>> symlinks. is that about right?
> 
> From what you were saying, it sounded like you thought it was a system-wide
> change for how linking worked.
> 
> Hard links can be used between directories on the same file system, but for
> a package install, since you don't know how the partitions will be
> configured, it's safer to to use symlinks if not in the same directory.
> That's what is being changed for this package.

In the git package, there aren't symlinks.  Within /usr/bin,
the git binaries which are identical are hardlinked to each
other.  And separately, within /usr/libexec/git-core, the
git binaries which are identical are hardlinked to each
other.

For anyone really curious about the finer details on this, I
would point to the upstream git Makefile¹ and the Fedora git
spec file².

¹ https://github.com/git/git/blob/master/Makefile
² https://src.fedoraproject.org/rpms/git/blob/master/f/git.spec

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Optimist, n. A proponent of the doctrine that black is white.
    -- Ambrose Bierce, "The Devil's Dictionary"

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux