Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Jak smazat určitý sektor z disku pod DOSem?

tak jsem našel vhodnou utilitku, jmenuje se PUTSECT. Jenomže teď tu laboruju se syntaxí a nedaří se.
Samotný PUTSECT vypisuje toto:

Usage:
Putsect <disknumber> <cylinder> <head> <sector> <filename> <cylinders> <hash> [checkfile <checkfilename>]

Writes the content of the file <filename> to the sector.

The file must be 512 bytes long. <cylinders> is the number of
cylinders on the disk. <hash> is a hash value from the current
content of the sector.

If the ascii value of byte no. n is called a(n), the hash value used
is 1 * a(1)+ 2 * a(2) + ... + 512 * a(512). The result is written
as an 8 digit hexadecimal number. The hash value of a 512 bytes file
can be printed with the command: Putsect gethash <filename>

If checkfile is used, hash can be entered as 00000000
and the current sector content must match <checkfilename>.

Returns 0 if the sector is written.

Čili jsem si vytvořil soubor DATA.TXT, který je plný samých nul a má velikost 512B.
Chci smazat sektor 32.

A teď se trápím.

Zkusil jsem
PUTSECT 1 0 0 32 DATA.TXT 0 00603000

Vrací mi to hlášku "Cylinders not correct." No bodejť, nula tam být určitě nemá. Jenomže co tam má být? A navíc aby to fungovalo univerzálně, na libovolném disku...
Já si doteď myslel, že když chci přemazat 32. sektor, tak mi stačí vědět, kterého fyzického disku se to týká a o zbylou geometrii se starat nemusím.
Díky za komentáře.

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny