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,934 of 4,255   
   Grant Taylor to muta...@gmail.com   
   Re: MBR and sector size   
   30 Oct 21 17:16:32   
   
   From: gtaylor@tnetconsulting.net   
      
   On 10/30/21 11:30 AM, muta...@gmail.com wrote:   
   > Do you agree that in the latter case, Linux will need to hardcode   
   > the number 512 for that to work?   
      
   No, not as such.   
      
   It really uses the same partition support for physical drives as it does   
   loopback images.  I say this because the loopback image can be treated   
   as pseudo physical device that the same partition support works on top of.   
      
   The partition support knows about the (possible) sector size(s) that the   
   partitioning scheme supported and thus tries the (possible)   
   combination(s) that are appropriate.  There is no need to hard code what   
   any given device / image is.  Simply try the list of possibilities in   
   order from most likely to least likely.  If it's not one of the known   
   and supported types, then it's not supported.   
      
      
      
   --   
   Grant. . . .   
   unix || die   
      
   --- 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