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,932 of 4,255   
   mutazilah@gmail.com to Grant Taylor   
   Re: MBR and sector size   
   30 Oct 21 10:30:38   
   
   From: muta...@gmail.com   
      
   On Sunday, October 31, 2021 at 4:00:13 AM UTC+11, Grant Taylor wrote:   
      
   > I either image a file system (contents of a partition) or I image the   
   > entire drive (including partition information). I access the former as   
   > a raw file system. I access the latter via Linux kernel's ability to   
   > see partitions on a loopback and then access the contents of a partition   
   > therein.   
      
   Do you agree that in the latter case, Linux will need to   
   hardcode the number 512 for that to work?   
      
   > You should be able to extract the information from any standard file   
   > system / partition data in the image. I'd expect a quick analysis /   
   > pattern match on the first 4kB of data would clearly give you   
   > information to know what things are. Either it will have a standard   
   > partition table (indicating it's a whole drive image)   
      
   I know it is a whole drive image. I just don't know whether   
   it is using 512 or 4096 or some other number sectors. I was   
   expecting this information to be recorded some place in the   
   MBR, the same as it is in the FAT boot sector.   
      
   Once you get to the FAT, everything is cool - the info is there,   
   but how are you supposed to get there?! Maybe I should change   
   the MBR format the same as other people did.   
      
   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