[techtalk] swtiching rhat drives . . .
Jeff Dike
jdike at karaya.com
Tue Nov 9 14:30:33 EST 1999
> Because cp will completely foul up device files. Try copying /dev/mem
> from
> one place to another. You won't like the results :-)
> sorry, but I can't stand it if people don't actually try things
> instead of repeating false statements:
> ---8<--- snip ---
> root at wombat:/tmp> ls -l /dev/mem
> crw-r----- 1 root kmem 1, 1 May 5 1998 /dev/mem
> root at wombat:/tmp> cp -a /dev/mem .
> root at wombat:/tmp> ls -l mem
> crw-r----- 1 root kmem 1, 1 May 5 1998 mem
Mea culpa. I actually did try it, but only after I sent that mail. And I
actually didn't like the results. My machine hung. I took that as evidence
that something other than a mknod was happening.
So, tar vs cp -a (and cpio) would be more a matter of taste.
Jeff
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list