Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,929 of 4,255    |
|    wolfgang kern to muta...@gmail.com    |
|    Re: MBR and sector size    |
|    30 Oct 21 16:21:28    |
      From: nowhere@nevernet.at              On 30/10/2021 14:46, muta...@gmail.com wrote:              >>> that the first 512 bytes of the hard disk doesn't store the sector       >>> size.              sector size is found in the ATA/ATAPI IDENTIFY-(packet)-DEVICE HD (CD).              >> I thought sector size was a hard drive physical property and not       >> something that could easily be adjusted. Thus there is effectively no       >> need to look it up.              > When the hard disk data is extracted into a flat file of       > sectors, how do I know how many bytes to skip to go       > to a particular LBA address?              LBA28 and LBA48 in PIO mode always access only 512 bytes,       it needs other commands to rd/wr 4k blocks.              > I have an expectation that data can be copied to and       > from devices and still be accessible.              > I need to either distinguish devices based on sector size       > or I need to introduce a dummy sector. If I have a dummy       > sector I would have an expectation that the firmware       > would maintain that sector as if it was real.              how to add a dummy sector to an existing HD ?              > Or maybe I am looking at things incorrectly.              probably       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca