Shawn wrote:
> Jürgen Keil wrote:
> >> In short, this is a limitation of the VTOC format Solaris
> >> uses for disk labelling. 
> > 
> > This should have been fixed quite a few builds ago (b99+).
> 
> I was respond to the 32-bit case, which as you noted, remains unfixed.
> 
> I don't yet know or understand why the 32-bit case could not be fixed, 
> but the 64-bit case could be; I suspect kernel data structure types are 
> to blame?

Yes, daddr_t is defined as a signed long in the 32-bit kernel.
So 2^31-1 is the maximum disk block address that can be used
in the 32-bit kernel.  There already is a lldaddr_t 64-bit type,
but I suspect there are too may parts in the kernel that still use 
daddr_t.

And redefining daddr_t as a 64-bit type won't work because it
breaks binary compatibility.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to