Karna@lemmy.ml to Linux@lemmy.ml · 6 个月前GNU Coreutils 9.5 Can Yield 10~20% Throughput Boost For cp, mv & cat Commandswww.phoronix.comexternal-linkmessage-square49fedilinkarrow-up1273arrow-down13
arrow-up1270arrow-down1external-linkGNU Coreutils 9.5 Can Yield 10~20% Throughput Boost For cp, mv & cat Commandswww.phoronix.comKarna@lemmy.ml to Linux@lemmy.ml · 6 个月前message-square49fedilink
minus-squarefruitycoder@sh.itjust.workslinkfedilinkarrow-up6·6 个月前Do cp capture the raw bits like dd does? Not saying that its useful in the case you’re describing but that’s always been the reason I use it. When I want every bit on a disk copied to another disks, even the things with no meta data present.
minus-squareSnarwin@kbin.sociallinkfedilinkarrow-up4·6 个月前As long as you copy from the device file (/dev/whatever), you will get “the raw bits”, regardless of whether you use dd, cp, or even cat.
Do cp capture the raw bits like dd does?
Not saying that its useful in the case you’re describing but that’s always been the reason I use it. When I want every bit on a disk copied to another disks, even the things with no meta data present.
As long as you copy from the device file (
/dev/whatever
), you will get “the raw bits”, regardless of whether you usedd
,cp
, or evencat
.That makes sense. Thanks!