Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Helmut Grohne
On Fri, Nov 15, 2013 at 01:50:05PM +, Jonathan Dowland wrote: > I'm not sure that making a general rule based on an edge-case is a > good idea. Publican is not very popular at all, it's quite likely > that none of the 70 or so people who have installed it have done > anything unusual with moun

Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Raphael Hertzog
On Fri, 15 Nov 2013, Jonathan Dowland wrote: > Looking at publican a number of questions occur to me > > * why hardlink all of the contents of >/usr/share/doc/publican/Users_Guide/desktop/$LOCALE/Common_Content >together rather than symlink them to some common directory like >/usr/sha

Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Jonathan Dowland
On Fri, Nov 15, 2013 at 11:16:19AM +0100, Helmut Grohne wrote: > For instance the publican package saved 3/4 of its binary package > size. If this were a problem, then maybe we should have seen a bug > report. I'm not sure that making a general rule based on an edge-case is a good idea. Publican

Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Andrew Shadura
Hello, On Fri, 15 Nov 2013 13:42:18 +0100 Andrew Shadura wrote: > > The tar file format supports hard links. Thus technically Debian > > packages can contain hard links. A significant number of packages > > including key packages such as bzip2, gzip, and ifupdown use this > > technique. While sa

Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Andrew Shadura
Hello, On Wed, 13 Nov 2013 10:19:17 +0100 Helmut Grohne wrote: > The tar file format supports hard links. Thus technically Debian > packages can contain hard links. A significant number of packages > including key packages such as bzip2, gzip, and ifupdown use this > technique. While same-direct

Re: Cross-directory hard links in Debian packages

2013-11-15 Thread Helmut Grohne
On Wed, Nov 13, 2013 at 12:11:27PM +0100, Adam Borowski wrote: > So you save a small number of inodes, and get problems if the filesystem's > layout is unconventional. Such savings don't seem to be worth the trouble > to me. I was questioning the existence of said trouble. I still do that. If the

Re: Cross-directory hard links in Debian packages

2013-11-13 Thread Adam Borowski
On Wed, Nov 13, 2013 at 10:19:17AM +0100, Helmut Grohne wrote: > While same-directory hard links are an established practise, > the same is not so true for cross-directory hard links. > > A good reason to use hard links is to save space. There are a number of > packages that ship the same content

Cross-directory hard links in Debian packages

2013-11-13 Thread Helmut Grohne
Hi, The tar file format supports hard links. Thus technically Debian packages can contain hard links. A significant number of packages including key packages such as bzip2, gzip, and ifupdown use this technique. While same-directory hard links are an established practise, the same is not so true f