lkml.org 
[lkml]   [2003]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] print_dev_t for 2.6.0-test1-mm
On Wed, Jul 16, 2003 at 03:21:43PM -0700, Andrew Morton wrote:

> > > Why do we need the 16:16 option?
> >
> > It is not very important, but major 0 is reserved, so if userspace
> > (or a filesystem) hands us a 32-bit device number, we have to
> > split that in some way, not 0+32. Life is easiest with 16+16.
> > (Now the major is nonzero, otherwise we had 8+8.)
> > Other choices lead to slightly more complicated code.
> >
>
> Why would anyone hand the kernel a 32-bit device number? They're either 16
> or 64, are they not?

The kernel has no control over what userspace comes with.
And here userspace includes filesystems.
Not all filesystems know how to come with 64 bits.

Andries

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.063 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site