Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111009165819.GB25752@altlinux.org>
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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.