我有一张奇怪的 SD 卡。如果我尝试删除数据或格式化卡 - 重新插入卡后它会恢复到初始状态。
dmesg 显示
[ 7207.910291] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
fsck 说
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
并且任何使用 fsck 的操作都无济于事。
[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
删除任何内容后:
[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
卸载并再次安装后,一切重复。