1

Does dd or shred commands only overwrite the data and the filesystem or do they change or modify the physical media of the hard disk? Because I know that I can format a hard disk millions of times without doing any harm to the media, but does using shred or dd harm the S.M.A.R.T. attributes of the modern hard disks or physical media or I can use these commands normally to format a hard disk to any filesystem?

2
  • 1
    dd and shred will write to (nearly) every location on the drive. That doesn't hurt the drive more than any other write operation. For a traditional hard drive with magnetic platters, this is inconsequential. SSD and flash drives have a large but limited number times each location can be written to before they begin to fail. But if you need to really erase, that's what you need to do. Using things wears them out eventually, and not using them makes them worthless now.
    – Marc
    Jul 5, 2015 at 20:14
  • @MKC However I didn't want to bother you on stuff like grammar etc, since I'm not a native speaker either and I'm far from a good speaker, mine was a suggestion to make your post better, since that usually helps getting a better response, I hope you didn't mind, and feel free to do the same for my posts if you see a possible improvement
    – kos
    Jul 6, 2015 at 14:12

1 Answer 1

1

They change the physical state of parts of the drive (changing the intensity of the magnetic fields in a mechanical drive and the amount of charge of the electronic fields of a flash drive), that's how those stuff even work, although I don't think that's your question.

The use of things also consumes them, but I don't think that's your question either.

There's no direct harm those tools do to storage drives, but refrain from running them constantly on flash drives, because their cells suffer from a limited number of possible program-erase cycles before break.

1
  • your answer is very nice if you want some improvement please edit your post or leave it as it is. . Jul 6, 2015 at 16:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .