Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "RE" To: Subject: cp command - problem with sparse SOLVED Date: Thu, 3 Feb 2005 16:56:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit In-Reply-To: <42018FF5.5050004@byu.net> Hi! Just tested "sparse capabilities" of the cp.exe command of the 5.x version of coreutils package. It works! Unfortunately I cannot get the version info of cp.exe as I could with the "old" cp.exe from fileutils package. However, the date of the file reads 2004-12-27 12:10. Thank you all for your patience and for letting me learn how to install cygwin. Rolf -----Ursprüngliche Nachricht----- Von: Eric Blake [mailto:ebb9 AT byu DOT net] Gesendet: Donnerstag, 3. Februar 2005 03:44 An: RE Cc: cygwin AT cygwin DOT com Betreff: Re: cp command - problem with sparse -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to RE on 2/2/2005 9:27 AM: > Hi Eric, > > Sorry about not mentioning the version. That was really stupid of me. > > I have installed the fileutils-4.1-8-bin.exe package. > > The version of cp.exe is 4.1.1253.32350. > > I am using Win2k SP4 with NTFS 5.0. Please keep replies on a mailing list, rather than to me personally - then you might get more help, and it will be archived for future reference if someone else encounters a similar problem. You still haven't told me what system you are running on (hint: uname -a), whether it is cygwin or something else. But, you are certainly using an outdated version of cp, which would explain your bug. As I pointed out in http://sources.redhat.com/ml/cygwin/2005-02/msg00081.html, coreutils 5.3.0 correctly creates a sparse file with --sparse=always when there are at least 128k of 0s in the source, and preserves the sparse-ness of the source with --sparse=auto. > So far I haven't found the latest coreutils package yet. Maybe there is a > newer version of cp.exe inside. I only found coreutils-5.2.1.tar.gz which > does not contain any executable files. To be honest, I don't know what to > do with the contents of that archive. If you want the latest version of cp.exe that I have precompiled and tested for cygwin, see http://cygwin.com. And if you are using cygwin, follow the bug-reporting directions of attaching the `cygcheck -svr' output to your response. If you were using a mingw or DJGPP version, then take your question to those lists for help. >> >> You never stated which platform you are using; the output of `cp >> --version' and `uname -a' would be useful in your bug report. Are you >> using cygwin or mingw, or are you accessing the NTFS drive remotely from a >> *nix box? If your problem is with the cygwin port of cp, then the cygwin >> AT cygwin DOT com mailing list is the correct place to ask; I see you've >> repeated your question there, so I will let that thread answer your >> question. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCAY/184KuGfSFAYARAgb+AJ9bXCQHTMz3FY2VGG03OIgNFfycAwCgxUj6 uUEwL+9egobv7Wl3gH4s1Tg= =NICu -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/