/*仕切りの相対的なセクター数*/
relative_sec=*(long *)(buffer+454+i*16);
no_sectors=*(long *)(buffer+458+i*16); /* 仕切りのセクターの数*/
sectors_part[*no_par]=no_sectors; /* 仕切りのセクターの数を貯える配列 */
*sec=star_sec[*no_par]=relative_sec;
(*no_par)++;
}
} //ループ終わりのためのの(i=0;i<4;i++)
} //ループ終わりの(*sec==0)
return;
}
コーディングのコメント:
機能はMBRからの仕切り情報を読み始め、次に延長MBRsを必要であれば読む。 機能readabsolutesectorsは*secによって指定される絶対セクターを読む。
sectors_partは[*no_par]仕切りのセクターの数を貯える配列である。 仕切り数は0から始まって*no_parによって指定される。
no_sectorsは仕切りのセクターの数であり、relative_secはその仕切りのための相対的なセクター数である。
star_secは[*no_par]仕切りの政府の機関数を貯える配列である。 仕切り数は0から始まって*no_parによって指定される。
star_cyl、star_heaおよびstar_secはCHSによって各仕切りの開始の情報を保つ配列である。 star_cylはシリンダーの開始の情報を貯える、star_heaは頭部の開始の情報を貯え、star_secは仕切りのセクターの開始の情報を貯える。
readabsolutesectors機能の記述のためにこの本で先に与えられる章を参照しなさい。
Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi, translated using machine translation. See original English contents on Data recovery book pages. |
|
Publishers of the Book
Number of Pages
ISBN
Price of the Book
|
BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)
|
 |
|
|