public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* gluebi char vs block devices
@ 2008-10-01 14:50 Monte Copeland
  2008-10-03  8:00 ` Artem Bityutskiy
  2008-10-03  9:19 ` Artem Bityutskiy
  0 siblings, 2 replies; 3+ messages in thread
From: Monte Copeland @ 2008-10-01 14:50 UTC (permalink / raw)
  To: linux-mtd

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-03  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 14:50 gluebi char vs block devices Monte Copeland
2008-10-03  8:00 ` Artem Bityutskiy
2008-10-03  9:19 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox