Nestor,

> >       1. Checking my HD sector 0 I think that the partitions start
> > and length numbers are stored in (32 bit values) offsets Ah (length)
> > and 6h (start), starting at 1FAh (partition 0). In other words, the
> > sector 0 of an IDE device has:
> >       partition 0: start sector (32 bits) stored in 1FAh
> >                    length stored in 1F6h
> >       partition 1: start sector (32 bits) stored in 1EAh
> >                    length stored in 1E6h
> >       partition 2: start sector (32 bits) stored in 1DAh
> >                    length stored in 1D6h
> >       partition 3: start sector (32 bits) stored in 1CAh
> >                    length stored in 1C6h
> >       ...
> >       partition 30:start sector (32 bits) stored in 1Ah
> >                    length stored in 16h
> It is not so easy. On sector 0 you will find a table with two entries:
> one for the partition 0, and another one which is actually a pointer to
> another table. This other table has also two entries: one for partition
> 1 and another pointer, and so on. This is true for any device, not only
> IDE. Sorry, I don't have the detailed information here.

        Are you sure you're not confusing MegaSCSI with PC IDE and
Sunrise IDE? On PC HDs I know it's true. On MegaSCSI I know it's also
true.
        I concluded this organization looking at the sector 0 of my IDE HD
and due to the fact that IDEFDISK only supports 30 partitions. And 30
partitions is the maximum number of partitions (organized as I
descibred)
that sector 0 can fit. Also, I compared the numbers in sector 0 with
those
displayed by IDEFISK and they match (partition start sector and length).
And, also, IDE sector 0 is almost empty. The only entries are those that
seems to correspond to the 10 partitions I created in my HD.


Adriano Camargo Rodrigues da Cunha          ([EMAIL PROTECTED])
http://www.adrpage.cjb.net                  MSX: more fun per less MHz

Microsoft Windows... a virus with mouse support.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html

Reply via email to