gluebi char vs block devices
Monte Copeland
catboatmonte at gmail.com
Wed Oct 1 10:50:27 EDT 2008
Hi,
What is expected (correct) behavior when reading content of static UBI volumes?
/ # cat /sys/class/ubi/ubi0_6/name
kernel_0
/ # cat /sys/class/ubi/ubi0_6/data_bytes
3149958
/ # cat /dev/mtd/kernel_0 | wc -c
3149958
/ # cat /dev/mtdblock/kernel_0 | wc -c
3149824
On my older UBI platform, the byte count from the
mtdblock dev is truncated down to an even multiple
of 512.
Monte Copeland
Austin
More information about the linux-mtd
mailing list