From owner-freebsd-hackers Fri May 8 21:42:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21222 for freebsd-hackers-outgoing; Fri, 8 May 1998 21:42:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay.kacst.edu.sa (ns1.kacst.edu.sa [198.77.88.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21190 for ; Fri, 8 May 1998 21:42:09 -0700 (PDT) (envelope-from onur@dpc107.dpc.kfupm.edu.sa) Received: from ns1.kfupm.edu.sa ([198.77.102.26]) by relay.kacst.edu.sa (8.7.5/8.7.3) with ESMTP id HAA24681 for ; Sat, 9 May 1998 07:34:41 -0300 (GMT) Received: from dpc107.dpc.kfupm.edu.sa ([196.15.32.8]) by ns1.kfupm.edu.sa (8.7.5/8.7.3) with ESMTP id HAA161334 for ; Sat, 9 May 1998 07:31:40 +0300 Received: (from onur@localhost) by dpc107.dpc.kfupm.edu.sa (8.7.5/8.7.3) id HAA74403 for freebsd-hackers@freebsd.org; Sat, 9 May 1998 07:39:00 +0300 Date: Sat, 9 May 1998 07:39:00 +0300 From: TOKER ONUR Message-Id: <199805090439.HAA74403@dpc107.dpc.kfupm.edu.sa> To: freebsd-hackers@FreeBSD.ORG Subject: How to get major device numbers ??? Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello folks, If I know the name of the device (e.g. ed0), how can I get its major device number. Please don't write me to look at /dev directory because it is not there, although I am using ed0 for network access. Basically, a device node is not created for ed0 and I want to generate a /dev/ed0, but I need the major device number. Where is the mapping between device names and device numbers ? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message