Quantcast
Channel: User Kamil Maciorowski - Super User
Viewing all articles
Browse latest Browse all 837

Comment by Kamil Maciorowski on How to restore data from an SSD?

$
0
0
@ramussons "dd is a very dangerous and unforgiving command" – Well, what the OP did with dd (dd if=/dev/sda1 of=/dev/sda2) can be done with cp (cp /dev/sda1 /dev/sda2) or with cat (cat /dev/sda1 > /dev/sda2), or with tee, or pv, socat, … This means cp and cat are also dangerous and unforgiving, right? :) Being root, I can destroy data on a disk with sole interactive sh. I think attributing danger to a tool is wrong. Here the danger and unforgiveness is in writing directly to the device node of a storage device, not in dd.

Viewing all articles
Browse latest Browse all 837

Trending Articles