1

If I run the following command on Ubuntu 14.10:

sudo dd if=/dev/zero of=/dev/sdb bs=1M count=100

It effectively erases my SD card.

If I run the exact same command on Ubuntu 16.10 (or 16.04), nothing happens. I've tried it on two different Ubuntu 16 machines. Literally nothing happens. I see the same dd output, but when I unplug and plug the SD card back in all the folders are still there, the partition is still there, everything.

Does anyone have insights as to how this could happen?

Edit:

As per request:

user@cobalt:~/Desktop$ sudo parted /dev/sdb print
Model: Generic- SD Card (scsi)
Disk /dev/sdb: 7948MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  7948MB  7947MB  primary  ext4
muru
  • 207,228
Gillespie
  • 133
  • 6

0 Answers0