Skip to contentSkip to conversation

MTD Device Stats

DISCUSSION Justin Wojdacki 2 participants 2 messages Dec 4, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Is there an "mtdstat" or similar program that I can use to get the stats of an MTD device? Basically, I want to know the state of the physical device (free blocks, used blocks, etc.).

Signature · 4 lines
-------------------------------------------------
Justin Wojdacki        
[email protected]         (408) 350-5032
Communications Processors Group -- Analog Devices
#1 lore raw

The problem with this is that "free" and "used" are determined by higher level usage - ie the file system - rather than the device itself. Dunno what JFFS gives you, but you can see these stats in YAFFS through /proc/yaffs.

Quoted 3 lines · Justin Wojdacki

Is there an "mtdstat" or similar program that I can use to get the stats of an MTD device? Basically, I want to know the state of the physical device (free blocks, used blocks, etc.).