Re: 64-bit kdev_t - just for playing

Greg KH (greg@kroah.com)
Tue, 1 Apr 2003 08:35:22 -0800


On Tue, Apr 01, 2003 at 03:42:14PM +0100, Alan Cox wrote:
> On Tue, 2003-04-01 at 00:42, Roman Zippel wrote:
> > Hi,
> >
> > On 31 Mar 2003, Alan Cox wrote:
> >
> > > > 2. What compromises can we make for 2.6?
> > >
> > > Defaulting char devices to 256 minors and a lot of space so stuff doesnt
> > > break. Viro has done the block stuff and we have the scope to do sane
> > > stuff like /dev/disk/.. for all disks now.
> >
> > What do you mean with "a lot of space so stuff doesnt break"?
>
> We need to default to 12:20 for char but where the 20 is actually
> defaulting to 0000xx so we don't get extra minors for any device
> that hasnt been audited for it

I thought Andries's patch prevented the need for this, as it restricted
the number of minors assigned to a device unless they converted to the
new API.

thanks,

greg k-h
-
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/