From owner-freebsd-arch Tue Nov 27 14:47:47 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 12C0E37B417 for ; Tue, 27 Nov 2001 14:47:43 -0800 (PST) Received: (qmail 15850 invoked from network); 27 Nov 2001 22:48:08 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Nov 2001 22:48:08 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111272245.fARMjKM17357@harmony.village.org> Date: Tue, 27 Nov 2001 14:47:35 -0800 (PST) From: John Baldwin To: Warner Losh Subject: Re: Anybody working on devd? Cc: arch@FreeBSD.ORG, Dima Dorfman Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Nov-01 Warner Losh wrote: > In message <200111272243.fARMhbM17326@harmony.village.org> Warner Losh > writes: >: But pccard doesn't deal in terms of dev_t, but rather device_t. The >: pccard bus system has no earthly clue what you just added to the >: system. Plus, unless jlemon has been busy, the network drivers do not >: add dev_t's. >: >: : The advantages of this approach is that it's very simple, doesn't >: : strictly depend on devfs, can probably be used to replace pccardd and >: : usbd (although I haven't looked at the latter much), and if we stick a >: : call to the hypothetical notify_userland() function in make_dev(), it >: : can somewhat be used to control permissions in /dev, although not >: : satisfactorily. >: >: I dislike this approach because it depends on dev_t rather than >: device_t. And there's no way to notify userland that "The bus says >: the plug and play info is XYZ, but no driver attached." so that the >: daemon can load the right driver. > > I'd also point out that devfsd, in my world view, dealt with dev_t, > while devd dealt with device_t. That's a good way of putting it, yes. :) > Warner -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message