Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On macOS / Linux you can use `dd` to "copy" everything from /dev/yourssd to /dev/null. Just be careful not to do it the other way!

https://www.man7.org/linux/man-pages/man1/dd.1.html

I have no idea if forcing a read is good / the right way. I'm just answering how to do it.





/dev/null is "empty" if you read it, its /dev/zero you dont want to dd onto your disk.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: