Re: dev_t / udev_t confusion ?
From: Alexey Dokuchaev (danfe_at_nsu.ru)
Date: 06/09/04
- Previous message: Maxime Henrion: "Re: dev_t / udev_t confusion ?"
- In reply to: Poul-Henning Kamp: "dev_t / udev_t confusion ?"
- Next in thread: M. Warner Losh: "Re: dev_t / udev_t confusion ?"
- Reply: M. Warner Losh: "Re: dev_t / udev_t confusion ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 9 Jun 2004 21:29:11 +0700 To: Poul-Henning Kamp <phk@phk.freebsd.dk>
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
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Maxime Henrion: "Re: dev_t / udev_t confusion ?"
- In reply to: Poul-Henning Kamp: "dev_t / udev_t confusion ?"
- Next in thread: M. Warner Losh: "Re: dev_t / udev_t confusion ?"
- Reply: M. Warner Losh: "Re: dev_t / udev_t confusion ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]