Reading from /dev/block/mmcblk0 returned old data while reading from /dev/block/mmcblk0p1 gave latest data. My question is does linux maintain a back up if data is written to /dev/block/mmcblk0? This is because i was able to read old contents of the SD card by reading through that node.
The mmc sub-system in the Linux kernel registers device nodes of the format mmcblkXpY
.
Normal file I/O can be performed after mounting a device node pointing to a partition.
Also note that unless a valid partition table is present on the /dev/mmcblkX
device, there will be no subsequent /dev/mmcblkXpY
nodes on the system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With