Changes between Version 17 and Version 18 of BadBlockHowto


Ignore:
Timestamp:
Mar 30, 2017, 11:40:08 AM (7 years ago)
Author:
Christian Franke
Comment:

Update POSIX link

Legend:

Unmodified
Added
Removed
Modified
  • BadBlockHowto

    v17 v18  
    10121012[=#footnote10 [10]] In this case the corruption was manufactured by using the `WRITE LONG SCSI` command. See `sg_write_long` in `sg3_utils`.
    10131013
    1014 [=#footnote11 [11]] Most window managers have a handy calculator that will do hex to decimal conversions. On the shell command level, the [http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html printf] command or [http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_04 Arithmetic Expansion] could be used: `printf '%d\n' 0xC0DEBA5E` and `echo $((0xC0DEBA5E))` print `3235822174`. The command `printf '0x%X\n' 3235822174` prints `0xC0DEBA5E`. At least recent versions of `bash`, `busybox`, `dash` and `zsh` support 64-bit signed integer arithmetic, other shells may be limited to 32-bit.
     1014[=#footnote11 [11]] Most window managers have a handy calculator that will do hex to decimal conversions. On the shell command level, the [http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html printf] command or [http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04 Arithmetic Expansion] could be used: `printf '%d\n' 0xC0DEBA5E` and `echo $((0xC0DEBA5E))` print `3235822174`. The command `printf '0x%X\n' 3235822174` prints `0xC0DEBA5E`. At least recent versions of `bash`, `busybox`, `dash` and `zsh` support 64-bit signed integer arithmetic, other shells may be limited to 32-bit.
    10151015
    10161016[=#footnote12 [12]] See [https://cygwin.com/].