From owner-freebsd-questions Thu Feb 13 4:53:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 238B437B401 for ; Thu, 13 Feb 2003 04:53:10 -0800 (PST) Received: from swissgeeks.com (adsl-212-101-16-119.solnet.ch [212.101.16.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 5490943FB1 for ; Thu, 13 Feb 2003 04:53:08 -0800 (PST) (envelope-from pbrossin@swissgeeks.com) Received: (qmail 24545 invoked from network); 13 Feb 2003 12:53:07 -0000 Received: from localhost (127.0.0.1) by server.swissgeeks.com (127.0.0.1) with ESMTP; 13 Feb 2003 12:53:07 -0000 Received: from 195.49.31.34 ( [195.49.31.34]) as user pbrossin@localhost by www.swissgeeks.com with HTTP; Thu, 13 Feb 2003 13:53:06 +0100 Message-ID: <1045140786.3e4b9532a7569@www.swissgeeks.com> Date: Thu, 13 Feb 2003 13:53:06 +0100 From: Pierrick Brossin To: Jason Barnes Cc: freebsd-questions@freebsd.org Subject: Re: devfs in 5.0 References: <20030212230244.S5758-100000@c3po.barnesos.net> In-Reply-To: <20030212230244.S5758-100000@c3po.barnesos.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 195.49.31.34 X-Sent-Via: Mitel Networks SME Server Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quoting Jason Barnes : > > I am sorry to bother you all with this, but I fundamentally don't > understand the new devfs system in 5.0. I am trying to get a usb mouse > working -- under 4.x I would do OK Here is my understanding of devfs on 5.0 If a device is detected and needs an entry in /dev/ the kernel automatically creates it. For example (the test I made): There is no ttyp0 in /dev/. Now login through SSH on your FBSD 5.0 machine. You'll see 2 new devices in /dev/ that are needed for the SSH session apparently. You cant try by doing cd /dev/ ls -l | wc -l *ssh the machine ls -l | wc -l you'll see there are more devices. Now for your USB mouse, I assume that if the kernel reconize it (dmesg | grep ums) it should be created in /dev/. Double check dmesg to be sure it's in there. Cya -- Pierrick Brossin IT Swiss - QUARK Media House 6a Puits Godet, 2000 Neuchatel, Switzerland Mail Prof: pbrossin@quark.ch Mail Priv: admin@swissgeeks.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message