Current Profile
Anonymous
OP
>go to run dd if=/dev/zero of=/dev/null
>muscle memory kicks in when typing
>end up running dd if=/dev/zero of=/dev/sda instead
218
14
9
0
OP
lol oops
I've done something similar except I was trying to wipe a USB but I ended up wiping one of my hard drives instead.
OP
One of the reasons why GUI exists.
OP
what's the point of the first dd command
seeing how fast you can generate 0s?
OP
>go to run dd if=/dev/zero of=/dev/null
...why?
1 replies
What happens if you /dev/null into /dev/sda then?
2 replies
this is why i add dd after im done with arguments
OP
The real question is why were you running dd as root
you don't need root for 'dd if=/dev/zero of=/dev/null' but you do need it for 'dd if=/dev/zero of=/dev/sda'
1 replies
you managed to brick item?
Wild Walrus 21d
>go to run dd if=/dev/zero of=/dev/null ...why?

>go to run dd if=/dev/zero of=/dev/null
...why?
It's the most crude memory bandwidth benchmark
pay attention to what you're doing when typing dd, like you would when you type rm -r

unless you dont care about the contents of your drive, which I think is what happened here

thumbnail Wild Walrus 19d
The real question is why were you running dd as root you don't need root for 'dd if=/dev/zero of=/dev/null' but you do need it for 'dd if=/dev/zero of=/dev

The real question is why were you running dd as root
you don't need root for 'dd if=/dev/zero of=/dev/null' but you do need it for 'dd if=/dev/zero of=/dev/sda'
nah I run almost everything as root, privilege levels are three-letter agency larp
Clever Rhino 20d
What happens if you /dev/null into /dev/sda then?
What happens if you /dev/null into /dev/sda then?
hopefully nothing, at worst a chunk from opening/writing nothing to the beginning might corrupt it
Clever Rhino 20d
What happens if you /dev/null into /dev/sda then?
What happens if you /dev/null into /dev/sda then?
Overwriting the disk with zeros obviously destroys the contents. But if you mean what happens if you overwrite only the beginning of it, idk how that's these days with UEFI but back in the Windows XP that's what I would do before reinstalling because it wipes the MBR and the disk just looks unpartitioned, which is neat. A bit like the wipefs command in Linux.
"All men by nature desire to know."
- Aristotle