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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at