I am using the dd command to erase a pen drive with this:
sudo dd if=/dev/zero of=/dev/sdd bs=4k && sync
where /dev/sdd
is the designated device.
The pen drive is 16GB in size and this process takes a very long time.
Using dd, is there a way to speed up the erasure process?
bs=1M
, you can also addstatus=progress
and you will see it still takes a long time. It was much faster with GParted: https://superuser.com/questions/1758221/how-to-format-a-usb-stick-with-gparted-under-linux-so-it-shows-up-on-a-mac – baptx Feb 21 '24 at 22:33