Re: dev_t / udev_t confusion ?

From: Alexey Dokuchaev (danfe_at_nsu.ru)
Date: 06/09/04

  • Next message: Robert Watson: "Re: dev_t / udev_t confusion ?"
    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"


  • Next message: Robert Watson: "Re: dev_t / udev_t confusion ?"