Joel Becker wrote:
> On Thu, Mar 20, 2003 at 03:06:31PM -0800, H. Peter Anvin wrote:
>
>>Last I checked, all traditional (inode-based) Unix filesystems,
>>including ext2/3 used block pointers for dev_t. There are plenty of
>>block pointers; 60 bytes worth.
>
> They do indeed. But ext2/3 touches that block pointer with
> cpu_to_le32() and friends. It needs fixing at best, and compatability
> work for already existing partitions.
>
A few options:
a) Use an inode flag indicating a large dev_t. This is probably the
best option.
b) Use a sentinel value, e.g. 0xffffffff, to indicate that the major and
minor are in block pointers 1 and 2.
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:33 EST