Is a mtd device a block device or a char device ?
First off, an mtd is a “memory technology device”, so it’s just “mtd. An “mtd device” is a pleonasm. Unix traditionally only knew block devices and character devices. Character devices were things like keyboards or mice, that you could read current data from, but couldn’t be seeked and didn’t have a size. Block devices had a fixed size and could be seeked. They also happened to be organized in blocks of multiple bytes, usually 512. Flash doesn’t match the description of either block or character devices. They behave similar to block device, but have differences. For example, block devices don’t destinguish between write and erase operations. Therefore, a special device type to match flash characteristics was created: mtd. So mtd is neither a block nor a char device. There are translations to use them, as if they were. But those translations are nowhere near the original, just like translated chinese poems.
Related Questions
- What if the customer has MMS block, SMS block, National block, or a device not on the supported device list; will the Ringback Tones Free Trial be applied to their line?
- Where can I find instructions to build a device that can block electric/radio transmissions?
- Can SCMDM block the use of applications that come preinstalled on a device by the OEM?