On 01/07/2011 11:48 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> On 01/07/2011 11:30 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>   
>> On 01/07/2011 10:35 AM, Grégoire Sutre wrote:
>>   
>>     
>>> Isn't the first sector reserved for the boot block in UFS?
>>>
>>>     
>>>       
>> Depends on OS:
>>
>> /* The blocks on which the superblock can be found.  */
>> static int sblocklist[] = { 128, 16, 0, 512, -1 };
>>
>>
>>   
>>     
> AFAIU:
> if (superblock isn't on sector 0) and (inoblk_offs isn't 0 or inode zero
> isn't used) then first sector is reserved
>   
Inode 0 shouldn't be used but I see nothing in the on-disk format to
enforce that. Moreover some OSes may put their own information outside
of standard basic UFS in the sector 0. Writing to sector 0 of UFS needs
more investigation because by now there are a lot of UFS variants
>>> Grégoire
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/grub-devel
>>>   
>>>     
>>>       
>>   
>>     
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to