> 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?
>
> Carlos

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
201     foo
201     bar

$ zum foo
foo [1608K]  [1 link]
$ cp foo bar1
$ du -s foo bar bar1
0       foo
201     bar
0       bar1


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to