* Brian May [Mon, 28 Feb 2005 09:05:01 +1100]:
> A benefit of moving files, rather then copying, is that you get to see
> at a glance what files your package left behind and missed in
> debian/tmp (e.g. if upstream adds new files to the packages but
> doesn't document these additions).
FWIW, th
> "Christoph" == Christoph Berg <[EMAIL PROTECTED]> writes:
Christoph> As I understood it, the question was about moving stuff
Christoph> from debian/tmp to debian/package. The stuff in
Christoph> debian/tmp should get removed by the clean target
Christoph> anyway, so it doesn'
* Daniel Burrows [Sat, 26 Feb 2005 13:42:28 -0500]:
> On Saturday 26 February 2005 01:37 pm, Adeodato Simó wrote:
> > I remember that I once modified my dh_install to use cp -al. That will
> > make each file be a hardlink, even if you copy a dir. It's fast.
> > I wouldn't mind that dh_insta
On Saturday 26 February 2005 01:37 pm, Adeodato Simó wrote:
> * Frank Küster [Sat, 26 Feb 2005 19:34:45 +0100]:
> > I didn't look closely, but I think it might need quite some changes to
> > the code. It seems dh_install uses cp -a for directories, and you cannot
> > use hard links with directories
Colin Watson <[EMAIL PROTECTED]> wrote:
> My point is that half the reason why dh_install was introduced instead
> of dh_movefiles is to copy files, not move them, and it seems odd that
> now there's a thread asking how to get dh_install to move files. If you
> want to move files, don't use dh_ins
* Frank Küster [Sat, 26 Feb 2005 19:34:45 +0100]:
> I didn't look closely, but I think it might need quite some changes to
> the code. It seems dh_install uses cp -a for directories, and you cannot
> use hard links with directories (at least not generally, here on my ext3
> $HOME it does not work.
Oliver Kurth <[EMAIL PROTECTED]> schrieb:
> On Fri, 2005-02-25 at 20:25 +0100, GOMBAS Gabor wrote:
>> On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
>>
>> > Correct. So, why not use mv?
>>
>> Add a new "--move" flag to dh_installfiles, come up with some exact
>> numbers showing th
On Fri, 2005-02-25 at 11:32 -0800, Oliver Kurth wrote:
> On Fri, 2005-02-25 at 20:25 +0100, GOMBAS Gabor wrote:
> > On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank KÃster wrote:
> >
> > > Correct. So, why not use mv?
> >
> > Add a new "--move" flag to dh_installfiles, come up with some exact
> >
On Fri, Feb 25, 2005 at 08:59:00PM +0100, Frank Küster wrote:
> Colin Watson <[EMAIL PROTECTED]> schrieb:
> > On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
> >> Christoph Berg <[EMAIL PROTECTED]> schrieb:
> >> > Re: Daniel Burrows in <[EMAIL PROTECTED]>
> >> >> I'd imagine that it
Frank Küster wrote:
> Colin Watson <[EMAIL PROTECTED]> schrieb:
>
> > On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
> >> Christoph Berg <[EMAIL PROTECTED]> schrieb:
> >> > Re: Daniel Burrows in <[EMAIL PROTECTED]>
> >> >> I'd imagine that it doesn't use mv for the same reason "in
Colin Watson <[EMAIL PROTECTED]> schrieb:
> On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
>> Christoph Berg <[EMAIL PROTECTED]> schrieb:
>> > Re: Daniel Burrows in <[EMAIL PROTECTED]>
>> >> I'd imagine that it doesn't use mv for the same reason "install"
>> >> doesn't;
>> >> ie
On Fri, 2005-02-25 at 20:25 +0100, GOMBAS Gabor wrote:
> On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
>
> > Correct. So, why not use mv?
>
> Add a new "--move" flag to dh_installfiles, come up with some exact
> numbers showing the build time/disk usage savings for your favorite B
On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
> Christoph Berg <[EMAIL PROTECTED]> schrieb:
> > Re: Daniel Burrows in <[EMAIL PROTECTED]>
> >> I'd imagine that it doesn't use mv for the same reason "install"
> >> doesn't;
> >> ie, its purpose is to COPY files, not MOVE them.
> >
On Fri, Feb 25, 2005 at 07:54:27PM +0100, Frank Küster wrote:
> Correct. So, why not use mv?
Add a new "--move" flag to dh_installfiles, come up with some exact
numbers showing the build time/disk usage savings for your favorite Big
Package (hard numbers usually very helpful for promoting new fea
On Fri, Feb 25, 2005 at 01:14:00PM -0500, Daniel Burrows wrote:
> Anyway, I thought you were joking in your first message, but it looks like
> you're serious, so I'll answer this time. If you're copying between files on
> the same device, mv will use the rename(2) system call, which is an ato
Eric Dorland <[EMAIL PROTECTED]> wrote:
> * Frank Küster ([EMAIL PROTECTED]) wrote:
>>
>> Well, fine. But the question remains: dh_install uses cp, not mv. What
>> is the problem with using mv? And would it be safe to use mv if I only
>> move complete directories?
>
> Well one reason is sometim
Christoph Berg <[EMAIL PROTECTED]> schrieb:
> Re: Daniel Burrows in <[EMAIL PROTECTED]>
>> I'd imagine that it doesn't use mv for the same reason "install" doesn't;
>> ie, its purpose is to COPY files, not MOVE them.
>
> As I understood it, the question was about moving stuff from
> debian/tmp
* Frank Küster ([EMAIL PROTECTED]) wrote:
> Eric Dorland <[EMAIL PROTECTED]> schrieb:
>
> > * Frank Küster ([EMAIL PROTECTED]) wrote:
> >> Hi,
> >>
> >> dh_movefiles internally uses tar to move file contents. I'm not sure why
> >> it doesn't use mv, is it because mv moves the file block-by-block
Re: Daniel Burrows in <[EMAIL PROTECTED]>
> I'd imagine that it doesn't use mv for the same reason "install" doesn't;
> ie, its purpose is to COPY files, not MOVE them.
As I understood it, the question was about moving stuff from
debian/tmp to debian/package. The stuff in debian/tmp should get
On Friday 25 February 2005 12:36 pm, Frank Küster wrote:
> Well, fine. But the question remains: dh_install uses cp, not mv. What
> is the problem with using mv? And would it be safe to use mv if I only
> move complete directories?
I'd imagine that it doesn't use mv for the same reason "instal
Eric Dorland <[EMAIL PROTECTED]> schrieb:
> * Frank Küster ([EMAIL PROTECTED]) wrote:
>> Hi,
>>
>> dh_movefiles internally uses tar to move file contents. I'm not sure why
>> it doesn't use mv, is it because mv moves the file block-by-block and
>> thus starts removing parts of the file before it
Eric Dorland <[EMAIL PROTECTED]> wrote:
> Uhh, who cares? dh_movefiles has been superseded by dh_install.
Oh, thank you for pointing out the obvious.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
* Frank Küster ([EMAIL PROTECTED]) wrote:
> Hi,
>
> dh_movefiles internally uses tar to move file contents. I'm not sure why
> it doesn't use mv, is it because mv moves the file block-by-block and
> thus starts removing parts of the file before it is completely written,
> and hence is less save?
>
Hi,
dh_movefiles internally uses tar to move file contents. I'm not sure why
it doesn't use mv, is it because mv moves the file block-by-block and
thus starts removing parts of the file before it is completely written,
and hence is less save?
Anyway: If I am only going to move complete subdirecto
24 matches
Mail list logo