Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 9 Oct 2011 20:58:19 +0400
From: "Dmitry V. Levin" <ldv@...linux.org>
To: owl-dev@...ts.openwall.com
Subject: Re: hardlink

On Sun, Oct 09, 2011 at 08:55:03PM +0400, Solar Designer wrote:
> On Sun, Oct 09, 2011 at 08:38:41PM +0400, Vasiliy Kulikov wrote:
> > 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?
> 
> I think this case is irrelevant to package builds.  The %buildroot tree
> is assumed not to cross filesystem boundaries.  With our buildworld.sh,
> this is a directory created by that script.
> 
> It may happen that an RPM package has hardlinks in it, but those end up
> going to different target filesystems when the package is being
> installed on a given system.  I guess this case is handled by RPM (by
> not using hardlinks then).

Yes, rpm handles this case.


-- 
ldv

[ CONTENT OF TYPE application/pgp-signature SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

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