Knowledge (XXG)

Memory Technology Device

Source đź“ť

1555: 136: 1567: 1595: 36: 1541: 209:
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.
167:
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.
1117: 406: 1636: 1655: 1206: 1201: 331: 274: 1559: 100: 72: 938: 706: 119: 57: 50: 1629: 79: 1665: 436: 1660: 1048: 376: 1482: 86: 1363: 411: 290: 1622: 765: 68: 1464: 1278: 396: 324: 46: 1469: 1111: 447: 1032: 1017: 933: 721: 526: 222: 186:
and other popular removable devices are not MTDs. Although they contain flash memory, this is hidden behind a
1375: 1174: 810: 698: 653: 603: 587: 564: 191: 386: 1520: 1497: 1492: 1327: 1293: 1283: 1155: 1100: 977: 516: 1571: 1474: 317: 135: 93: 1504: 1106: 668: 366: 1300: 779: 638: 572: 1454: 1288: 874: 774: 711: 633: 628: 416: 284: 241: 152: 1425: 1073: 1043: 1038: 889: 544: 506: 270: 214: 164: 1606: 1602: 1179: 741: 462: 452: 361: 1415: 1083: 864: 218: 17: 1445: 1350: 1261: 1138: 1133: 1128: 1123: 906: 731: 726: 371: 179: 175: 1649: 1380: 1196: 1002: 992: 751: 623: 501: 1545: 1266: 1184: 1078: 1022: 381: 340: 187: 183: 160: 1271: 1164: 746: 643: 35: 1358: 1333: 1320: 1225: 1213: 1143: 1053: 539: 442: 401: 1220: 1189: 1058: 894: 683: 554: 511: 171: 1594: 1338: 1159: 1148: 1068: 1012: 1007: 953: 901: 790: 716: 1420: 1405: 1315: 1305: 1245: 1169: 1063: 987: 928: 842: 805: 736: 678: 673: 577: 534: 1410: 1395: 1385: 1240: 1235: 997: 948: 921: 884: 854: 821: 800: 549: 496: 391: 304: 140: 213:
MTDs don't address to the kernel like traditional storage devices (
1540: 1230: 1093: 1027: 982: 943: 911: 879: 837: 832: 795: 663: 658: 618: 613: 206: 202: 198: 156: 1310: 1088: 916: 847: 491: 313: 309: 197:
When using an MTD, the use of an MTD aware file system such as
1390: 1368: 29: 27:
Type of device file in Linux for interacting with flash memory
1610: 267:
Embedded Linux Primer: A Practical Real-World Approach
1513: 1453: 1444: 1349: 1254: 970: 863: 773: 764: 697: 602: 595: 586: 563: 525: 484: 477: 425: 354: 347: 269:(2nd ed.). chapter 10: Pearson Education. 163:. The MTD subsystem was created to provide an 194:and not directly interfacing with the kernel. 1630: 325: 8: 1637: 1623: 1450: 1346: 770: 599: 592: 481: 351: 332: 318: 310: 120:Learn how and when to remove this message 1560:Free and open-source software portal 1118:Earliest eligible virtual deadline first 134: 233: 282: 225:, but rather using offsets and sizes. 56:Please improve this article by adding 7: 1591: 1589: 242:"Memory Technology Device Overview" 1656:Solid-state computer storage media 1609:. You can help Knowledge (XXG) by 305:http://www.linux-mtd.infradead.org 25: 1593: 1566: 1565: 1553: 1539: 407:Supported computer architectures 34: 437:The Linux Programming Interface 1: 265:Christopher Hallinan (2010). 58:secondary or tertiary sources 1682: 1588: 1279:High-performance computing 1101:Process and I/O schedulers 69:"Memory Technology Device" 1533: 1112:Completely Fair Scheduler 377:Tanenbaum–Torvalds debate 1033:Kernel same-page merging 289:: CS1 maint: location ( 149:Memory Technology Device 143:in a Router – a true MTD 18:Memory technology device 1376:OS-level virtualization 192:Flash Translation Layer 1666:Computer storage stubs 1605:-related article is a 1521:List of Linux adopters 463:Linux User Group (LUG) 144: 45:relies excessively on 1661:Linux kernel features 159:for interacting with 138: 1107:Brain Fuck Scheduler 367:Linux Mark Institute 1301:Real-time computing 573:Linux Standard Base 151:(MTD) is a type of 1289:Compute Node Linux 875:C standard library 190:interface using a 145: 1618: 1617: 1581: 1580: 1529: 1528: 1440: 1439: 1436: 1435: 1074:Network scheduler 966: 965: 962: 961: 760: 759: 507:Linux kernel oops 473: 472: 453:Linux conferences 276:978-0-13-706110-5 215:Solid State Drive 165:abstraction layer 130: 129: 122: 104: 16:(Redirected from 1673: 1639: 1632: 1625: 1603:computer-storage 1597: 1590: 1569: 1568: 1558: 1557: 1556: 1546:Linux portal 1544: 1543: 1451: 1347: 1156:Security Modules 771: 600: 593: 482: 362:Linux Foundation 352: 334: 327: 320: 311: 294: 288: 280: 253: 252: 250: 248: 238: 125: 118: 114: 111: 105: 103: 62: 38: 30: 21: 1681: 1680: 1676: 1675: 1674: 1672: 1671: 1670: 1646: 1645: 1644: 1643: 1586: 1582: 1577: 1554: 1552: 1538: 1525: 1509: 1456: 1432: 1416:User-mode Linux 1345: 1250: 958: 866: 859: 778: 756: 693: 605: 582: 559: 521: 469: 421: 412:Version history 343: 338: 301: 281: 277: 264: 261: 259:Further reading 256: 246: 244: 240: 239: 235: 231: 219:Hard Disk Drive 132: 126: 115: 109: 106: 63: 61: 55: 51:primary sources 39: 28: 23: 22: 15: 12: 11: 5: 1679: 1677: 1669: 1668: 1663: 1658: 1648: 1647: 1642: 1641: 1634: 1627: 1619: 1616: 1615: 1598: 1579: 1578: 1576: 1575: 1563: 1549: 1534: 1531: 1530: 1527: 1526: 1524: 1523: 1517: 1515: 1511: 1510: 1508: 1507: 1502: 1501: 1500: 1495: 1487: 1486: 1485: 1477: 1472: 1467: 1461: 1459: 1448: 1442: 1441: 1438: 1437: 1434: 1433: 1431: 1430: 1429: 1428: 1423: 1418: 1413: 1408: 1400: 1399: 1398: 1393: 1388: 1383: 1373: 1372: 1371: 1366: 1355: 1353: 1351:Virtualization 1344: 1343: 1342: 1341: 1336: 1325: 1324: 1323: 1318: 1313: 1308: 1298: 1297: 1296: 1291: 1286: 1276: 1275: 1274: 1269: 1258: 1256: 1252: 1251: 1249: 1248: 1243: 1238: 1233: 1228: 1223: 1217: 1216: 1211: 1210: 1209: 1204: 1197:Device drivers 1193: 1192: 1187: 1182: 1177: 1172: 1167: 1162: 1152: 1151: 1146: 1141: 1139:SCHED_DEADLINE 1136: 1134:O(1) scheduler 1131: 1129:O(n) scheduler 1126: 1124:Noop scheduler 1121: 1115: 1109: 1104: 1097: 1096: 1091: 1086: 1081: 1076: 1071: 1066: 1061: 1056: 1051: 1046: 1041: 1036: 1030: 1025: 1020: 1015: 1010: 1005: 1000: 995: 990: 985: 980: 978:Kernel modules 974: 972: 968: 967: 964: 963: 960: 959: 957: 956: 951: 946: 941: 936: 931: 926: 925: 924: 919: 914: 909: 904: 899: 898: 897: 887: 882: 871: 869: 861: 860: 858: 857: 852: 851: 850: 840: 835: 830: 827: 824: 819: 816: 813: 808: 803: 798: 793: 788: 784: 782: 768: 762: 761: 758: 757: 755: 754: 749: 744: 739: 734: 732:Memory barrier 729: 724: 719: 714: 709: 703: 701: 695: 694: 692: 691: 690: 689: 686: 681: 676: 671: 666: 661: 651: 650: 649: 646: 641: 636: 631: 626: 621: 610: 608: 597: 590: 584: 583: 581: 580: 575: 569: 567: 561: 560: 558: 557: 552: 547: 542: 537: 531: 529: 523: 522: 520: 519: 514: 509: 504: 499: 494: 488: 486: 479: 475: 474: 471: 470: 468: 467: 466: 465: 457: 456: 455: 450: 445: 440: 429: 427: 423: 422: 420: 419: 414: 409: 404: 399: 394: 389: 384: 379: 374: 369: 364: 358: 356: 349: 345: 344: 339: 337: 336: 329: 322: 314: 308: 307: 300: 299:External links 297: 296: 295: 275: 260: 257: 255: 254: 232: 230: 227: 184:CompactFlashes 128: 127: 42: 40: 33: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 1678: 1667: 1664: 1662: 1659: 1657: 1654: 1653: 1651: 1640: 1635: 1633: 1628: 1626: 1621: 1620: 1614: 1612: 1608: 1604: 1599: 1596: 1592: 1587: 1584: 1574: 1573: 1564: 1562: 1561: 1550: 1548: 1547: 1542: 1536: 1535: 1532: 1522: 1519: 1518: 1516: 1512: 1506: 1503: 1499: 1496: 1494: 1491: 1490: 1488: 1484: 1481: 1480: 1479:Thin client: 1478: 1476: 1473: 1471: 1468: 1466: 1463: 1462: 1460: 1458: 1452: 1449: 1447: 1443: 1427: 1424: 1422: 1419: 1417: 1414: 1412: 1409: 1407: 1404: 1403: 1401: 1397: 1394: 1392: 1389: 1387: 1384: 1382: 1381:Linux-VServer 1379: 1378: 1377: 1374: 1370: 1367: 1365: 1362: 1361: 1360: 1357: 1356: 1354: 1352: 1348: 1340: 1337: 1335: 1332: 1331: 1329: 1326: 1322: 1319: 1317: 1314: 1312: 1309: 1307: 1304: 1303: 1302: 1299: 1295: 1292: 1290: 1287: 1285: 1282: 1281: 1280: 1277: 1273: 1270: 1268: 1265: 1264: 1263: 1260: 1259: 1257: 1253: 1247: 1244: 1242: 1239: 1237: 1234: 1232: 1229: 1227: 1224: 1222: 1219: 1218: 1215: 1212: 1208: 1205: 1203: 1200: 1199: 1198: 1195: 1194: 1191: 1188: 1186: 1183: 1181: 1178: 1176: 1173: 1171: 1168: 1166: 1163: 1161: 1157: 1154: 1153: 1150: 1147: 1145: 1142: 1140: 1137: 1135: 1132: 1130: 1127: 1125: 1122: 1119: 1116: 1113: 1110: 1108: 1105: 1102: 1099: 1098: 1095: 1092: 1090: 1087: 1085: 1082: 1080: 1077: 1075: 1072: 1070: 1067: 1065: 1062: 1060: 1057: 1055: 1052: 1050: 1047: 1045: 1042: 1040: 1037: 1034: 1031: 1029: 1026: 1024: 1021: 1019: 1016: 1014: 1011: 1009: 1006: 1004: 1003:Device mapper 1001: 999: 996: 994: 991: 989: 986: 984: 981: 979: 976: 975: 973: 969: 955: 952: 950: 947: 945: 942: 940: 937: 935: 932: 930: 927: 923: 920: 918: 915: 913: 910: 908: 905: 903: 900: 896: 893: 892: 891: 888: 886: 883: 881: 878: 877: 876: 873: 872: 870: 868: 862: 856: 853: 849: 846: 845: 844: 841: 839: 836: 834: 831: 828: 825: 823: 820: 817: 814: 812: 809: 807: 804: 802: 799: 797: 794: 792: 789: 786: 785: 783: 781: 776: 772: 769: 767: 763: 753: 750: 748: 745: 743: 740: 738: 735: 733: 730: 728: 725: 723: 720: 718: 715: 713: 710: 708: 705: 704: 702: 700: 696: 687: 685: 682: 680: 677: 675: 672: 670: 667: 665: 662: 660: 657: 656: 655: 652: 647: 645: 642: 640: 637: 635: 632: 630: 627: 625: 622: 620: 617: 616: 615: 612: 611: 609: 607: 601: 598: 594: 591: 589: 585: 579: 576: 574: 571: 570: 568: 566: 562: 556: 553: 551: 548: 546: 543: 541: 538: 536: 533: 532: 530: 528: 524: 518: 515: 513: 510: 508: 505: 503: 500: 498: 495: 493: 490: 489: 487: 483: 480: 476: 464: 461: 460: 458: 454: 451: 449: 446: 444: 441: 439: 438: 434: 433: 431: 430: 428: 424: 418: 415: 413: 410: 408: 405: 403: 400: 398: 395: 393: 390: 388: 385: 383: 380: 378: 375: 373: 370: 368: 365: 363: 360: 359: 357: 353: 350: 346: 342: 335: 330: 328: 323: 321: 316: 315: 312: 306: 303: 302: 298: 292: 286: 278: 272: 268: 263: 262: 258: 243: 237: 234: 228: 226: 224: 220: 216: 211: 208: 204: 200: 195: 193: 189: 185: 181: 177: 173: 169: 166: 162: 158: 154: 150: 142: 137: 133: 124: 121: 113: 110:December 2013 102: 99: 95: 92: 88: 85: 81: 78: 74: 71: â€“  70: 66: 65:Find sources: 59: 53: 52: 48: 43:This article 41: 37: 32: 31: 19: 1611:expanding it 1600: 1585: 1583: 1570: 1551: 1537: 1267:Linux kernel 1185:Tomoyo Linux 780:File systems 435: 387:SCO disputes 348:Organization 341:Linux kernel 266: 245:. Retrieved 236: 212: 196: 188:block device 170: 161:flash memory 148: 146: 131: 116: 107: 97: 90: 83: 76: 64: 44: 1272:Linux-libre 1165:Exec Shield 1044:Framebuffer 747:Video4Linux 604:System Call 432:Developers 372:Linus's law 247:1 September 221:...) using 153:device file 1650:Categories 1359:Hypervisor 1321:PREEMPT_RT 1226:KernelCare 1214:Raw device 1144:SCHED_FIFO 1054:KMS driver 971:Components 826:securityfs 712:Crypto API 654:Linux-only 540:System.map 443:kernel.org 402:menuconfig 397:GNU GPL v2 229:References 172:USB sticks 80:newspapers 47:references 1498:LYME-LYCE 1221:initramfs 1190:Linux PAM 1059:Netfilter 929:libcgroup 895:libhybris 867:libraries 815:hugetlbfs 766:Userspace 699:In-kernel 684:readahead 606:Interface 555:initramfs 512:SystemTap 485:Debugging 478:Technical 417:Criticism 285:cite book 1572:Category 1514:Adopters 1489:Server: 1470:Embedded 1446:Adoption 1339:PSXLinux 1262:Mainline 1255:Variants 1207:graphics 1160:AppArmor 1149:SCHED_RR 1069:nftables 1013:dm-crypt 1008:dm-cache 954:liburing 944:libevdev 902:dietlibc 791:configfs 717:io uring 1505:Devices 1465:Desktop 1426:coLinux 1421:MkLinux 1406:L4Linux 1334:ÎĽClinux 1316:Xenomai 1306:RTLinux 1246:Ksplice 1175:SELinux 1170:seccomp 1120:(EEVDF) 1064:Netlink 993:Console 988:cgroups 939:libalsa 865:Wrapper 843:systemd 806:debugfs 775:Daemons 737:New API 679:inotify 674:dnotify 578:x32 ABI 535:vmlinux 527:Startup 426:Support 94:scholar 1475:Gaming 1457:of use 1411:ELinOS 1402:Other 1396:OpenVZ 1386:Lguest 1330:-less 1241:kpatch 1236:kGraft 1202:802.11 998:bcache 949:libusb 934:libdrm 922:Newlib 907:EGLIBC 890:Bionic 885:uClibc 855:Kmscon 829:sockfs 822:procfs 818:pipefs 801:devpts 727:kernfs 669:splice 624:select 596:Kernel 550:initrd 545:dracut 497:ftrace 459:Users 392:Linaro 355:Kernel 273:  141:EEPROM 139:Flash- 96:  89:  82:  75:  67:  1601:This 1455:Range 1294:SLURM 1231:kexec 1180:Smack 1114:(CFS) 1094:zswap 1035:(KSM) 1028:evdev 983:BlueZ 912:klibc 880:glibc 838:tmpfs 833:sysfs 796:devfs 787:bpffs 664:epoll 659:futex 639:close 619:ioctl 614:POSIX 502:kdump 207:YAFFS 203:JFFS2 199:UBIFS 157:Linux 101:JSTOR 87:books 1607:stub 1493:LAMP 1483:LTSP 1311:RTAI 1089:zram 1084:SLUB 1079:perf 1023:EDAC 917:musl 848:udev 811:FUSE 707:ALSA 644:sync 634:read 629:open 588:APIs 565:ABIs 492:CRIU 448:LKML 291:link 271:ISBN 249:2012 223:LBAs 176:MMCs 73:news 1391:LXC 1369:Xen 1364:KVM 1328:MMU 1284:INK 1049:LVM 1039:LIO 1018:DRM 752:IIO 742:RCU 722:DRM 517:BPF 382:Tux 205:or 180:SDs 155:in 49:to 1652:: 1158:: 287:}} 283:{{ 217:, 201:, 182:, 178:, 174:, 147:A 60:. 1638:e 1631:t 1624:v 1613:. 1103:: 777:, 688:… 648:… 333:e 326:t 319:v 293:) 279:. 251:. 123:) 117:( 112:) 108:( 98:· 91:· 84:· 77:· 54:. 20:)

Index

Memory technology device

references
primary sources
secondary or tertiary sources
"Memory Technology Device"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message

EEPROM
device file
Linux
flash memory
abstraction layer
USB sticks
MMCs
SDs
CompactFlashes
block device
Flash Translation Layer
UBIFS
JFFS2
YAFFS
Solid State Drive
Hard Disk Drive
LBAs

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑