How to check the erase block size of a USB flash under Linux?Someone said /proc/mtd might be helpful, while for my Centos7 server, there isn't such file.Thanks in advance.Updated on Jan 28 2016:Below is my output of flashbench, would anyone confirm that my erase block size if 4M? (Actually, my sdb is a Kingston DTSE9G2 128G USB flash.)# ./flashbench -a /dev/sdbsched_setscheduler: Operation not permittedalign 34359738368   pre 461s   on 584s    post 443s  diff 132salign 17179869184   pre 468s   on 598s    post 463s  diff 133salign 8589934592    pre 473s   on 598s    post 467s  diff 128salign 4294967296    pre 476s   on 602s    post 470s  diff 129salign 2147483648    pre 473s   on 599s    post 462s  diff 131salign 1073741824    pre 463s   on 601s    post 465s  diff 137salign 536870912 pre 463s   on 595s    post 469s  diff 129salign 268435456 pre 463s   on 581s    post 452s  diff 124salign 134217728 pre 467s   on 585s    post 454s  diff 125salign 67108864  pre 452s   on 580s    post 458s  diff 125salign 33554432  pre 471s   on 604s    post 463s  diff 137salign 16777216  pre 457s   on 588s    post 473s  diff 123salign 8388608   pre 459s   on 603s    post 471s  diff 138salign 4194304   pre 465s   on 569s    post 465s  diff 104salign 2097152   pre 467s   on 584s    post 473s  diff 114salign 1048576   pre 450s   on 579s    post 474s  diff 118salign 524288    pre 472s   on 581s    post 454s  diff 117salign 262144    pre 465s   on 581s    post 462s  diff 117salign 131072    pre 461s   on 583s    post 471s  diff 117salign 65536 pre 453s   on 573s    post 465s  diff 114salign 32768 pre 453s   on 561s    post 454s  diff 107s
How to check the erase block size of a Usb flash under Linux?
linux;usb;flash memory