Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by ilikepi

7 months ago

Ok I gotta ask...why of=/dev/zero and not of=/dev/null ?

2 comments

ilikepi

Reply

jauntywundrkind  7 months ago

That's probably much better, oops!

  • gruez  7 months ago

    You don't even need dd since you're reading the whole file end to end. Something like

        cat /dev/nvme0n1 > /dev/null
    

    would suffice.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities