[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trimming away bad sectors -- correction



I mucked up the sector count math on the final command lines. They
should have read:

listener:
    # nc -l -p 30000 > hda5_before.img
sender:
    # dd if=/dev/hda5 count=193030219 bs=2048 | nc 192.168.1.2 30000 -w 3
                            ^^^^^^^^^ = 42088722-22785903
listener:
    # nc -l -p 30000 > hda5_after.img
sender:
    # dd if=/dev/hda5 skip=193030220 bs=2048 | nc 192.168.1.2 30000 -w 3

-- Doc
Robert G. (Doc) Savage, BSE(EE), CISSP, RHCE | Fairview Heights, IL
Fedora Core 3 kernel 2.6.9-1.667 on a P-III/M IBM Thinkpad A22p
"Perfection is the enemy of good enough."
                         -- Admiral of the Fleet Sergei G. Gorshkov


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.