Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2021 18:33:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 257140] mail/thunderbird and www/firefox install two identical executables
Message-ID:  <bug-257140-21738-8zJ4lVOMuT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257140-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257140-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257140

--- Comment #6 from Mikhail Teterin <mi@FreeBSD.org> ---
(In reply to Christoph Moench-Tegeder from comment #5)
> pkg doesn't really support hard links.

Huh? There are NUMEROUS multi-link files under $PREFIX, installed by differ=
ent
packages, including git, llvm, and portupgrade. Moreover, man-pages have be=
en
installed as hard-links for DECADES, including man-pages of the ports. Try:

    find /usr/local -type f -not -links 1

libexec/git-core/git, in particular, has 138 hardlinks here!

> further thinking: do we even guarantee a file system with hard link suppo=
rt?

I suppose, if one were to host $PREFIX on FAT floppy, things might break, y=
eah.
But then, he wouldn't be able to install git either -- and thus, have no
/usr/ports to begin with :-)

> Think NFS - that's a whole can of worms on it's own

NFS certainly supports hardlinks and has since its earliest versions.

> we're talking about a few hundred kB in a 200MB install size port

The actual gain is not relevant. But this is the attitude, which explains w=
hy,
despite enormous progress of the hardware, the "computing experience" is
lacking, and gigabytes are becoming necessary, where megabytes were suffici=
ent
earlier.

> I'm not going to spent any more time than this note on that.

Thank you, that's a comforting promise, actually.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257140-21738-8zJ4lVOMuT>