delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/22/13:53:37

From: martin DOT lang AT vs DOT dasa DOT de (Martin Lang)
Subject: AW: cp problem.
22 Mar 1998 13:53:37 -0800 :
Message-ID: <01BD53D7.52FC9180.cygnus.gnu-win32@langm.vs-ulm.dasa.de>
Mime-Version: 1.0
To: "'Pal Engstad'" <engstad AT hunt DOT inmet DOT com>,
"'GNU-Win32 Newsgroup mail'"
<gnu-win32 AT cygnus DOT com>

Thanks a lot for the tip. It worked great!

How can I make the option '--sparse=never' default for cp?

Martin

----------
Von: 	Pal Engstad[SMTP:engstad AT hunt DOT inmet DOT com]
Gesendet: 	Donnerstag, 19. März 1998 22:13
An: 	martin DOT lang AT vs DOT dasa DOT de
Betreff: 	cp problem.

Same thing happend to me. Guess what, I guess your binary file had a 
lot of 0's in it. When a Unix file system sees this, it will actially
not copy these.

You have to:
# cp --sparse=never from.file to.file

To get a true copy. Go figure.

Actually, if you want to forward this to the gnuwin mailing list, you
are welcome. It should be in the FAQ (or better, the default should
always be --sparse=never on a FAT file system).

Paal-Kristian.



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019