From owner-freebsd-current Sun Oct 1 10:55:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id B5A5437B502; Sun, 1 Oct 2000 10:55:43 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e91HtXN14854; Sun, 1 Oct 2000 19:55:33 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Warner Losh Cc: Jeremy Lea , Mike Meyer , Alexander Langer , current@FreeBSD.ORG Subject: Re: setting device permissions for DEVFS In-Reply-To: Your message of "Sun, 01 Oct 2000 11:51:13 MDT." <200010011751.LAA00911@harmony.village.org> Date: Sun, 01 Oct 2000 19:55:33 +0200 Message-ID: <14852.970422933@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200010011751.LAA00911@harmony.village.org>, Warner Losh writes: >In message <11056.970344237@critter> Poul-Henning Kamp writes: >: We need a generic "devd" which finds out that devices have appeared, >: set their perms (if needed/wanted) and executes any commands needed >: (getty, mount, etc etc) by the device. > >ifconfig and dhclient are likely the most often executed ones now. > >I agree we need a generic devd. Does devfs use the kqueue interface? Not right now, but it could. Right now you can tell something happened by examining the sysctl vfs.devfs.generation -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message