Date: Wed, 9 Jun 2004 21:29:11 +0700 From: Alexey Dokuchaev <danfe@nsu.ru> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: arch@freebsd.org Subject: Re: dev_t / udev_t confusion ? Message-ID: <20040609142911.GA43972@regency.nsu.ru> In-Reply-To: <53993.1086779790@critter.freebsd.dk> References: <53993.1086779790@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609142911.GA43972>