dev_t / udev_t confusion ?
Alexey Dokuchaev
danfe at nsu.ru
Wed Jun 9 14:29:10 GMT 2004
On Wed, Jun 09, 2004 at 01:16:30PM +0200, Poul-Henning Kamp wrote:
>
> I have an item on my TODO list which says "fix dev_t / udev_t kernel
> confusion before 5-STABLE ?".
>
> The confusions is that in userland dev_t is an integer type which
> encodes the major+minor number of a device, in the kernel it it a
> pointer to "struct cdev" which represents the device to the kernel.
Go for solving the confusion, phk. I'd sacrifice compatibility with
other BSDs here in sake of coherency.
./danfe
More information about the freebsd-arch
mailing list