Knowing MTD
来源:互联网 发布:手机淘宝众筹入口 编辑:程序博客网 时间:2024/05/16 19:42
1. Character device & Block device
Character devices were things like keyboards or mice, that you cound read current data from, but could't be seek-ed and didn't have a size.
Block devices had a fixed size and could be seek-ed. They also happened to be organized in blocks of multiple bytes, usually 512.
2. MTD (Memory Technology Device)
MTD is neither a character device nor a block device. They behave similar to block device, but have differences. For example, block devices don't distinguish between write and erase operations.
3. What are differences between flash devices and block drives
Note: SSD, MMC, eMMC, RS-MMC, SD, mini-SD, micro-SD, USB flash drive, CampactFlash, MemoryStick, MemoryStick Micro and other FTL devices are block devices, not raw flash devices.
The following table describes the difference between block devices and raw flashes.
4. Working MTD
In order to use one of conventional file systems owvere MTD device, you need a software layer which emulates a block device over the MTD device. These layers are after called Flash Translation Layers (FTLs).
There is an extremely simple FTL layer in Linux MTD subsystem - mtdblcok. It emulates blcok devices over MTD devices. When you load this module, it creates a block device for each MTD device in the system. The block devices are then accessible via /dev/mtdblockXX device nodes.
- Knowing MTD
- knowing
- Knowing+NTLM
- mtd
- MTD
- mtd
- MTD
- mtd
- Knowing Your Team
- Knowing makefile in linux
- GTK+ -- from knowing nothing to knowing something (1)
- GTK+ -- from knowing nothing to knowing something (2)
- GTK+ -- from knowing nothing to knowing something (3)
- GTK+ -- from knowing nothing to knowing something (4)
- GTK+ -- from knowing nothing to knowing something (5)
- Knowing yourself -- From Beyond Feeling
- Goodbye Forefront, it was nice knowing you
- 9 uses for cURL worth knowing
- 我来啦!
- Linux mail命令使用
- 100个经典绕口令2
- c++ builder 2009如何生成独立运行exe
- jQuery Image Cube
- Knowing MTD
- c++学习笔记--this指针
- 360与腾讯之争,作为程序员,是愿意自己的项目进入市场得到些成功就被腾讯抄袭,还是软件刚一发布出去,就被360查杀?
- windows xp最高权限登陆下禁止修改Ip地址
- disco
- 查询结果不含重复数据
- 出口惊人语录收集
- SQL BI Microsoft MSDN
- SGID的应用——开发组创建实例