you are viewing a single comment's thread
view the rest of the comments
[–] 24 points 11 months ago* (last edited 11 months ago) (2 children)

GNU is really its own thing and not reallyPOSIX anymore. So GNU is right even if they are wrong.

This is not me advocating for GNU. I use BSD utils myself.

On this issue, your were right in a way. My understanding is that the uutils version of dd was respecting the fullblock parameter, causing problems on slow pipes. GNU ignore this and was doing partial writes. Uutils has been modified to match GNU and is “working” now. At least, a tested patch has been submitted.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 11 months ago* (last edited 11 months ago) (1 child)

    If you pipe, dd is the wrong tool anyway. Replace with cp or cat. dd is a fine scalpel but a bad shovel.

    Useless use of dd

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 11 months ago

    In both these cases, dd serves no real purpose. It’s purely a superstitious charm trying to ensure safe passage of the data. You can see how silly this is when you replace dd with the functionally equivalent catcat /dev/sda | pv | cat > /dev/sdb

    😂

  • source
  • parent