Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[badblocks] right value for block-size option

Help
qxtr01
2008-11-24
2012-11-28
  • qxtr01
    qxtr01
    2008-11-24

    hello,

    what is the right value of badblocks' -block-size option when checking an hard disk or an usb flash drive? i think the right value is 512 (which corresponds to the hardware block size), but i'd like to have a confirmation. what if i check a cdrom/dvdrom? should i set it to 2048? it seems not to work if i do so (i get badblocks: invalid block size - lock-size)...

    thanks.

     
    • qxtr01
      qxtr01
      2008-11-24

      i'm sorry... the last error was caused by having written -block-size 2048 instead of -b 2048...