I want to wipe a partition quickly.I search the answer in website.
dd if=/dev/zero of=/dev/sda1 bs=16M count=96
shred -v -z -n 1 /dev/sda1
All the commandline,will overwrite with value zero though there is zero. I think in the partition somewhere have value,but somewhere also have zero.
Want: Just use commandline but not GUN.Because ddrescue Need to compile and install
shred or other command just overwrite zero to where that there's value is not zero in a partition in Linux.
My understand is in below
ddrescue -b 1572864 --generate-mode /dev/zero /dev/sda1 flash.map // This will create a flash.map ddrescue -b 1572864 --force --fill-mode=+ /dev/zero /dev/sda1 flash.map //will to fill the patition by flash.map //1572864byte =16M*96
It's right?What about my understand？