home bbs files messages ]

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,926 of 4,255   
   mutazilah@gmail.com to Grant Taylor   
   Re: MBR and sector size   
   30 Oct 21 05:46:13   
   
   From: muta...@gmail.com   
      
   On Saturday, October 30, 2021 at 12:10:09 PM UTC+11, Grant Taylor wrote:   
      
   > > that the first 512 bytes of the hard disk doesn't store the sector   
   > > size.   
      
   > 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?   
      
   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.   
      
   Or maybe I am looking at things incorrectly.   
      
   BFN. Paul.   
      
   --- 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