• fruitycoder@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    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.

    • Snarwin@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      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.