I'm assuming it reads the GPT. If the first logical block (LBA 0, the Protected MBR) does not contain a partition type of 0xEE (obtained from reading the 1-byte offset at 0x04), it knows it is...
Type: Posts; User: Mario F.
I'm assuming it reads the GPT. If the first logical block (LBA 0, the Protected MBR) does not contain a partition type of 0xEE (obtained from reading the 1-byte offset at 0x04), it knows it is...
I don't feel like studying the MBR and GPT structures for you. Thank you very much.
I thought it would be clear by now all you need to do is study them yourself. You are bound to get this...
Nice brewbuck, thanks. That definitely puts us in the right track.
Reading through it though, I feel the need to point out that the above IOCTL does use the MBR exclusively. It's also obsolete....
So, the real answer to the initial question is that nobody knows?
To my knowledge you get this information from the FAT. However it is not shown in itself. The first 32 bits of the FAT contain it somewhere. You need to find the offsets for the following...
Maybe this will help?
Flash memory - low level access
This is borderline knowledge to me. I'm not comfortable speaking much more about it. I'm not even sure the flash controller ROM contains the...
But flash drives do contain a driver controller with a ROM where this information could be stored, I think. On the other hand, to my knowledge standard flash drives all use 512 bytes of memory per...