YOLO (media.piefed.zip)
submitted 2 months ago by to c/linuxmemes@lemmy.world
 
YOLO
you are viewing a single comment's thread
view the rest of the comments
[–] 81 points 2 months ago (10 children)

They call it disk destroyer for a reason. You gotta alias that shit.

alias dd='echo Did you triple check which device you picked? Of course not, dipshit. Check again'

  • source
  • parent
  • hideshow 10 child comments
  • [–] 17 points 2 months ago* (last edited 2 months ago) (2 children)

    They call it disk destroyer for a reason.

    There's nothing specially destructive about dd. It's just a program that opens a file, and if you tell it to open a device file and it's got permission to write to it, it'll write to it.

    You can just as easily overwrite a disk's contents with anything else that will open a file and write to it.

    # cp /dev/urandom /dev/sda
    

    will wipe your drive with random data in the same way that

    # dd if=/dev/urandom of=/dev/sda
    

    will.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 2 months ago* (2 children)

    Surely double checked is enough

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 months ago

    Lol, as someone who tried a bunch of different distros, I used the dd command a lot without ever realizing what could go wrong with it. I must have used up all my luck with that though, because somehow I ended up on manjaro of all things.

  • source
  • parent