Re: 64-bit kdev_t - just for playing

H. Peter Anvin (hpa@zytor.com)
1 Apr 2003 13:59:23 -0800


Followup to: <1049208134.19703.12.camel@dhcp22.swansea.linux.org.uk>
By author: Alan Cox <alan@lxorguk.ukuu.org.uk>
In newsgroup: linux.dev.kernel
>
> 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
>

Or 32:32... if we have a hope for that. Given that the bulk of the
overhead is *already* taken in userspace I still think we should go
all the way on this one. But yes, we need to make sure old-api
devices get -ENXIO on open anything beyond the 8-bit minor space.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
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/