At 14:29 20.03.99 , Catalin Bucur wrote:
>Hello,
>
>Normally, if I try to make an image of a healthy disk (3.5") with dd:
>dd if=/dev/fd0 of=filename
>I obtain a filename with 1474560 bytes length (2880*512).
>The problem is: if I have one bad sector(512 bytes) on that disk, I want
>to create an image with the same length. Something like that:
>dd if/dev/fd0 of=filename conv=noerror bs=512 count=2880
>This command skips the bad block, but the image file length's is 1474048
>bytes.
>How can I solve that?

Sorry, I don't understand. You want the same length? Do a 'dd if=/dev/zero
bs=512 count=1 >> filename'
and you Append 512 zero bytes. But I don't expect that's what you want.
Automation?
Fill the bad Sector with zeros?

raven
I am not a target market
       __  .--.      [EMAIL PROTECTED]
    .-(__)/    \     members.tripod.com/raven_42
   ||' \/ `   \ \    DSS/DH:  0xE68FCB0A
   | |:  :  \ \ \\   2562 D476 EE30 6680 F357
   || '  ' \   \ \\  5498 29F3 CF3F E68F CB0A
   | //..\\       \\ MD5/RSA: 0x76F98FA5
----VV----VV----     B895 9596 3861 9421
   | '/||\`          51D3 F0E7 89FC 1E01
       '``

Reply via email to