From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 25 Mar 2010 10:16:04 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20100325071604.GK8193@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20100324232930.GA21626@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wmhq21yAGFMoSpeN" Content-Disposition: inline In-Reply-To: <20100324232930.GA21626@wo.int.altlinux.org> Subject: Re: [devel] Q: rpmbuild: hardlink identical files together by default X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 07:16:05 -0000 Archived-At: List-Archive: List-Post: --wmhq21yAGFMoSpeN Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2010 at 02:29:31AM +0300, Dmitry V. Levin wrote: > Hi, >=20 > =E4=CF=C2=C1=D7=CC=D1=D1 =D3=C5=C7=CF=C4=CE=D1 =D7 =CF=DE=C5=D2=C5=C4=CE= =CF=CA =D3=D7=CF=CA =D0=C1=CB=C5=D4 =D3=CC=C5=C4=D5=C0=DD=C9=C5 =D3=D4=D2= =CF=CB=C9, > # Hardlink identical files together. > %define __spec_install_custom_post hardlink -v %buildroot Is there an option like "hardlink only in the same dir"? > =D7 =CF=DE=C5=D2=C5=C4=CE=CF=CA =D2=C1=DA =D0=CF=C4=D5=CD=C1=CC =CF =D4= =CF=CD, =DE=D4=CF =C8=CF=D2=CF=DB=CF =C2=D9 =D2=C1=D3=D0=D2=CF=D3=D4=D2=C1= =CE=C9=D4=D8 =DC=D4=CF=D4 =CF=D0=D9=D4 > =D7 =C2=CF=CC=C5=C5 =CF=C2=DD=C5=CA =C6=CF=D2=CD=C5 (=D3 =CD=C1=CB=D2=CF= =D3=C1=CD=C9 =D7=C9=C4=C1 %set_hardlink_path) =D0=CF =D5=CD=CF=CC=DE=C1=CE= =C9=C0 > =CE=C1 =D7=D3=C5 =D0=C1=CB=C5=D4=D9. >=20 > =FE=D4=CF =D3=CB=C1=D6=C5=D4=C5? This dependes on what you're trying to save, which is either internet traffic or disk space. Saving internet traffic is already easier due to the xz compression (which can handle similar files very well). And disks are nowadays 1Tb+. From both points of view, you're probably gonna save nothing, compared to an average media transfer e.g. from youtube. This is how the world has changed. --wmhq21yAGFMoSpeN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkurDbQACgkQfBKgtDjnu0bL3ACfdXsUGXykb1A1qj5viT+qbXHj YvEAoITzyNCqlJdlhXUJxWRD6He0z17p =Gxut -----END PGP SIGNATURE----- --wmhq21yAGFMoSpeN--