Re: [PATCH][2/2] SquashFS

From: Andrew Morton
Date: Tue Mar 15 2005 - 20:00:53 EST


Phillip Lougher <phillip@xxxxxxxxxxxxxxxxxxx> wrote:
>
> >>+ unsigned int s_major:16;
> >>+ unsigned int s_minor:16;
> >
> >
> > What's going on here? s_minor's not big enough for modern minor
> > numbers.
> >
>
> What is the modern size then?

10 bits of major, 20 bits of minor.

As this is an on-disk thing, you're kinda stuck. A number of filesystems
have this problem. We used tricks in the inode to support it in ext2 and
ext3.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/