Eu tenho um estranho cartão SD. Se eu tentar apagar dados ou formatar o cartão - depois de reinserir o cartão, ele volta ao estado inicial.
dmesg mostra
[ 7207.910291] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
fsck diz que
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
e qualquer ação com o fsck não ajuda.
[14170.994718] mmc0: card 59b4 removed
[14174.915337] mmc0: new SDHC card at address 59b4
[14174.919760] mmcblk0: mmc0:59b4 USD00 7.36 GiB
[14174.921347] mmcblk0: p1
Depois de excluir qualquer coisa:
[14202.765458] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
# fsck /dev/mmcblk0p1
fsck from util-linux 2.27.1
fsck.fat 3.0.28 (2015-05-16)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y
/dev/mmcblk0p1: 1523 files, 115510/241028 clusters
Após desmontar e montar novamente todas as repetições.