Timeline for how to use dd to fill drive with 1's
Current License: CC BY-SA 4.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Apr 4, 2022 at 13:07 | history | suggested | Manuel Jordan | CC BY-SA 4.0 |
Improve presentation
|
| Apr 1, 2022 at 16:37 | review | Suggested edits | |||
| S Apr 4, 2022 at 13:07 | |||||
| Oct 24, 2021 at 18:23 | answer | added | Matheus Garcia | timeline score: 0 | |
| Jan 22, 2021 at 8:49 | answer | added | Dave Johnson | timeline score: 4 | |
| May 12, 2020 at 14:49 | answer | added | PWP | timeline score: -2 | |
| Jun 29, 2019 at 1:01 | answer | added | Chai T. Rex | timeline score: 0 | |
| Apr 22, 2019 at 11:28 | answer | added | David Tonhofer | timeline score: 0 | |
| Apr 20, 2019 at 13:50 | comment | added | David Tonhofer |
The venerable dd has a the option seek=N skip N obs-sized blocks at start of output, so you can write a loop to seek to the correct place k*M on the output block device before repeating a write of the M-sized file.
|
|
| Jul 7, 2015 at 14:06 | answer | added | Kenneth Salerno | timeline score: 5 | |
| Aug 21, 2014 at 21:38 | comment | added | pqnet | @Gilles well, the reason for which he want to write to his disk is not explained so I think it would be great if the question is clarified | |
| Aug 21, 2014 at 21:35 | comment | added | Gilles 'SO- stop being evil' | @pqnet Zero isn't special for physical storage. With a virtual hard disk, it might be, but filling with anything is unsafe. For SSD, there are specific issues with reallocated blocks, but writing with nonzero values doesn't help with that. | |
| Aug 21, 2014 at 21:27 | comment | added | pqnet | @Gilles I guess zero is special enough that the disk driver could cheat and not really write anything to disk, only marking blocks as empty. I think some virtual hard disk do so. But still, it depends on which reason he's filling a drive for. If it is security, neither 0 nor 1 are safe enough, and also filling with random wouldn't be good if the hard disk is SSD | |
| Aug 19, 2014 at 23:08 | comment | added | Gilles 'SO- stop being evil' | Why not use zeros? 1-bits don't erase a disk better than 0-bits. | |
| Aug 19, 2014 at 20:30 | answer | added | Stéphane Chazelas | timeline score: 18 | |
| Aug 19, 2014 at 19:21 | answer | added | frostschutz | timeline score: 5 | |
| Aug 19, 2014 at 18:36 | history | asked | linuxfix | CC BY-SA 3.0 |