Forumi
Home Pravila i pomoć Članovi Kalendar Današnji postovi


Povratak   PC Ekspert Forum > Računala > Software > Operativni sustavi
Ime
Lozinka

Odgovori
 
Uređivanje
Staro 16.01.2011., 20:08   #1
strgani
Premium
 
strgani's Avatar
 
Datum registracije: Oct 2008
Lokacija: Zagreb-Križevci
Postovi: 571
Particijske tablice i njeni dijelovi

sljedeći tekst našao sam na jednoj web stranici, stavit cu i link, podebljani dio me zanima dal mi moze netko objasnit sta znaci, nisam expert u engleskom pa me taj dio muci, ostatak sam skuzio treba mi za maturalni, hvala

A partition descriptor is a 16-byte structure with the following fields:

0 Boot Indicator
[This byte is used by some boot loaders to indicate which of the primary partitions should be booted.]

1-3 Begin CHS
[Cylinder/Head/Sector address of the partition start. For the format, see below.]

4 Partition Type
[This type generally indicates what operating system or file system can be found on the partition, or what the partition is used for. For a list, see the list of known partition types.] Here we shall always give types in two hexadecimal digits. Types 05, 0F and 85 (hex) indicate an extended partition. [DOS only knows about 05, Windows 95 introduced 0F, Linux introduced 85.]

5-7 End CHS
[Cylinder/Head/Sector address of the partition end.]

8-11 Partition Start
The 4-byte little-endian value of the starting sector number (counting from 0) of the partition.



12-15 Partition Size
The 4-byte little-endian value of the size in sectors of the partition. If this value is zero, the partition descriptor should be ignored [and all other values in the descriptor should be zero as well]; in this case the partition descriptor is called unused.


http://www.win.tue.nl/~aeb/partition..._tables-2.html
strgani je offline   Reply With Quote
Staro 16.01.2011., 21:24   #2
strgani
Premium
 
strgani's Avatar
 
Datum registracije: Oct 2008
Lokacija: Zagreb-Križevci
Postovi: 571
The 3-byte CHS adresses are encoded as follows: The first byte contains h, the head number, a value in the range 0-255. The second byte contains in its last six bits s, the sector number, a value in the range 1-63. The high order two bits of the second byte, followed by the eight bits of the third byte form c, the cylinder number, a value in the range 0-1023. In C-like code:
h = byte1;
s = byte2 & 0x3f;
c = ((byte2 & 0xc0) << 2) + byte3;
For a disk with C cylinders, H heads, and S sectors per track, the linear address corresponding to a CHS address (c,h,s) is found as c*H*S + h*S + s - 1. [Since CHS addresses have 24 bits only, they cannot address more than 2^24 sectors, which is insufficient for modern disks. Moreover, it is often unclear what values should be used for C, H, S. Thus, these CHS addresses should be ignored.]


i taj me dio zanima ali samo ovaj treci dio za cilindre ne kuzim kak se racuna...
strgani je offline   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Staro 16.01.2011., 23:07   #3
perich
I hate mondays..........
 
perich's Avatar
 
Datum registracije: Nov 2002
Lokacija: Zagreb - Zaprešić
Postovi: 1,534
Citiraj:
Autor strgani Pregled postova
8-11 Partition Start
The 4-byte little-endian value of the starting sector number (counting from 0) of the partition.
In computing, endianness is the ordering of individually addressable sub-units (words, bytes, or even bits) within a longer data word stored in external memory. The most typical cases are the ordering of bytes within a 16-, 32-, or 64-bit word, where endianness is often simply referred to as byte order.[1] The usual contrast is between most versus least significant byte first, called big-endian and little-endian respectively.

source: wiki
perich je offline   Reply With Quote
Staro 17.01.2011., 18:39   #4
m4dm4n
Does youer dewg byte?
Moj komp
 
m4dm4n's Avatar
 
Datum registracije: May 2006
Lokacija: Zagreb
Postovi: 1,936
Citiraj:
Autor strgani
sljedeći tekst našao sam na jednoj web stranici, stavit cu i link, podebljani dio me zanima dal mi moze netko objasnit sta znaci, nisam expert u engleskom pa me taj dio muci, ostatak sam skuzio treba mi za maturalni, hvala

8-11 Partition Start
The 4-byte little-endian value of the starting sector number (counting from 0) of the partition.


Početni sektor particije na disku, LBA adresiranje.
__________________
" Have you tried turning it off and on again ? Are you sure it is plugged in ? "
m4dm4n je offline   Reply With Quote
Staro 17.01.2011., 21:08   #5
strgani
Premium
 
strgani's Avatar
 
Datum registracije: Oct 2008
Lokacija: Zagreb-Križevci
Postovi: 571
Citiraj:
Autor m4dm4n Pregled postova
Početni sektor particije na disku, LBA adresiranje.

tnx... jel mi mos jos samo onaj dio o racunanju cilindara, kak se racuna, skuzio sam za s i h al me c muči :/ a mi nije pomogo...
strgani je offline   Reply With Quote
Staro 17.01.2011., 21:53   #6
Milentije
Adrenaline junkie
Moj komp
 
Milentije's Avatar
 
Datum registracije: Apr 2006
Lokacija: Doboj - Banja Luka
Postovi: 3,593
Evo nacrtao sam na papiru i napisao objasnjenje. Ono sto sam zaboravio napisati na papiru je to da je maska koja se dobija sa c0 11000000. Kada byte2 pomnozis tom maskom ostanu ti samo najviša 2 bita drugog bajta setovana a svi ostali bitovi se resetuju. Dalje sam napisao sta se desava i kako.



EDIT:

Krajnji raspored bita izgleda ovako:

87654321 65432187 87654321

H
S
C
__________________
Lenovo ThinkPad W530 - Core i7 3840QM, 32 GB RAM, SSD Samsung 512 GB, nVidia Quadro K1000M 2 GB, 15.6" 1920x1080 IPS, baterija 9 ćelija

Zadnje izmijenjeno od: Milentije. 17.01.2011. u 22:21.
Milentije je online   Reply With Quote
Oglasni prostor
Oglas
 
Oglas
Odgovori



Pravila postanja
Vi ne možete otvarati nove teme
Vi ne možete pisati odgovore
Vi ne možete uploadati priloge
Vi ne možete uređivati svoje poruke

BB code je Uključeno
Smajlići su Uključeno
[IMG] kod je Uključeno
HTML je Isključeno

Idi na