From owner-freebsd-current Fri Feb 7 12:24:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A53737B401 for ; Fri, 7 Feb 2003 12:24:41 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C526C43FDD for ; Fri, 7 Feb 2003 12:24:40 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016 for ; Fri, 07 Feb 2003 12:24:34 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id CFE885D04 for ; Fri, 7 Feb 2003 12:24:34 -0800 (PST) To: current@freebsd.org Subject: How to create a device in current Date: Fri, 07 Feb 2003 12:24:34 -0800 From: "Kevin Oberman" Message-Id: <20030207202434.CFE885D04@ptavv.es.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I maintain a port for FreeBSD that I am trying to fix to run on V5. The port is the mWave modem software for some IBM laptop internal modems and it needs to create a /dev entry which I previously did with a simple mknod. This doesn't work under 5.0, so I am trying to figure out how to get the device node created in the rc script for the port. The command I used in V4 is mknod "/dev/mwave c 96 0". Where so I read up on creating something like this with devfs? R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message