NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41497: diff against cp(1) to copy sparse files
The following reply was made to PR bin/41497; it has been noted by GNATS.
From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%gnats.netbsd.org@localhost
Cc:
Subject: Re: bin/41497: diff against cp(1) to copy sparse files
Date: Wed, 3 Jun 2009 15:49:39 -0400
Begin forwarded message:
Date: Wed, 3 Jun 2009 14:55:21 -0400
From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: tech-userlevel%netbsd.org@localhost
Subject: Re: Extending cp(1) to copy sparse files with -s switch
On Wed, 3 Jun 2009 20:35:11 +0200
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> I don't like it. The same functionality already is provided by pax and
> that is somewhat more portable than cp -s. Situation would be slightly
> different if the hole detection existed but as it is, I prefer to not go
> that route.
I would then propose to add a note in cp(1) man page about sparse copy
being currently handled by tar/pax only, until a better solution
exists...
As for the earlier patches from Reinoud (linked-to in that PR) to
detect holes in a Solaris-compatible way, it unfortunately never was
finalized/accepted.
--
Matt
Home |
Main Index |
Thread Index |
Old Index