Bug#28670: dpkg cross-device link problem
On Wed, Oct 28, 1998 at 05:36:08PM -0500, Mark W. Eichin wrote:
> found it:
> % ls -ali /usr/bin/m68k-palmos-coff-nm /usr/m68k-palmos-coff/bin/nm
> 174487 -rwxr-xr-x 2 root root 162652 Oct 19 15:25 /usr/bin/m68k-palmos-coff-nm*
> 174487 -rwxr-xr-x 2 root root 162652 Oct 19 15:25 /usr/m68k-palmos-coff/bin/nm*
> I think it is reasonable for those to be hardlinked, but they should
> end up copied if that isn't possible (I have /usr/m68k-palmos-coff off
> on another partition...)
Perhaps this deserves a policy amendation. What do people think?
Should we not allow hardlinks between different directories in order to
allow for this, or should we make dpkg cope?