Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 9 Oct 2011 20:38:41 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: hardlink

Solar,

On Sun, Oct 09, 2011 at 20:25 +0400, Solar Designer wrote:
> http://sisyphus.ru/en/srpm/Sisyphus/tzdata/spec
> 
> I notice:
> 
> # Hardlink identical files together.
> %define __spec_install_custom_post hardlink -vc %buildroot
> 
> which indeed would save some space.  I think we should package the
> "hardlink" tool for Owl.  Here it is:
> 
> http://pkgs.fedoraproject.org/gitweb/?p=hardlink.git;a=tree
> 
> and here's how it is packaged in ALT Linux:
> 
> http://sisyphus.ru/en/srpm/Sisyphus/hardlink

I didn't look at hardlink usage, but does it run at RPM build stage or
at %post?  If the former, it would fail in case user has divided the
disk other way, e.g. separate /usr/ would deny hardlinking /bin/bla and
/usr/bin/blabla.  Or probably this case is somehow handled?

-- 
Vasiliy

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ