Re: ideas about moving Debian to another hard drive
> Some time ago it was rumored that cp cannot copy files with holes, it
> just fills the holes :-( There's even a package to work around this,
> perforate. Is it still true that cp -a cannot preserve holes?
No, this rumor is quite easy to falsify. GNU cp makes a copy with
holes iff the original has holes.
$ dd if=/dev/zero of=foo bs=1k count=200
200+0 records in
200+0 records out
$ cp foo bar
$ du -s foo bar
$ zum foo
foo [1608K] [1 link]
$ cp foo bar1
$ du -s foo bar bar1
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .