Lesson plan
Memory Technology Device
__NOTOC__ in a router, a true MTD A Memory Technology Device (MTD) is a type of device file in Linux for interacting with flash memory. The MTD subsystem was created to provide an abstraction layer between the hardware-specific device drivers and higher-level applications. Although character and block device files already existed, their semantics don't map well to the way that flash memory devices operate. USB sticks, MMC cards, SD cards, CompactFlash cards and other popular removable devices are not MTDs. Although they contain flash memory, this is hidden behind a block device interface using a flash translation layer and not directly interfacing with the kernel. When using an MTD, the use of an MTD-aware file system such as UBIFS, JFFS2 or YAFFS is recommended. The MTD subsystem exports block devices as well, which allows the use of common filesystem like ext4. However, using an MTD this way is not recommended since there is neither detection of bad blocks nor any kind of wear leveling. MTDs don't address to the kernel like traditional storage devices (solid-state drive, hard disk drive, etc.) using LBAs, but rather using offsets and sizes.
Article summary
__NOTOC__ in a router, a true MTD A Memory Technology Device (MTD) is a type of device file in Linux for interacting with flash memory. The MTD subsystem was created to provide an abstraction layer between the hardware-specific device drivers and higher-level applications. Although character and block device files already existed, their semantics don't map well to the way that flash memory devices operate. USB sticks, MMC cards, SD cards, CompactFlash cards and other popular removable devices are not MTDs. Although they contain flash memory, this is hidden behind a block device interface using a flash translation layer and not directly interfacing with the kernel. When using an MTD, the use of an MTD-aware file system such as UBIFS, JFFS2 or YAFFS is recommended. The MTD subsystem exports block devices as well, which allows the use of common filesystem like ext4. However, using an MTD this way is not recommended since there is neither detection of bad blocks nor any kind of wear leveling. MTDs don't address to the kernel like traditional storage devices (solid-state drive, hard disk drive, etc.) using LBAs, but rather using offsets and sizes.
Key claims
No claims recorded.
Discussion questions
- Summarise the article in your own words. Which single claim would you verify first, and why?
- Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
- If two sources disagreed about one of these facts, what would you need in order to trust one over the other?
Bibliography
No sources recorded.
Key claims and bibliography are generated from the same tracked claims and sources as the article page.