From owner-freebsd-questions Fri May 8 22:27:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA26586 for freebsd-questions-outgoing; Fri, 8 May 1998 22:27:46 -0700 (PDT) (envelope-from owner-freebsd-questions@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 WAA26571 for ; Fri, 8 May 1998 22:27:39 -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 IAA25991 for ; Sat, 9 May 1998 08:19:55 -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 IAA140538 for ; Sat, 9 May 1998 08:16:42 +0300 Received: (from onur@localhost) by dpc107.dpc.kfupm.edu.sa (8.7.5/8.7.3) id IAA87966 for freebsd-questions@freebsd.org; Sat, 9 May 1998 08:20:57 +0300 Date: Sat, 9 May 1998 08:20:57 +0300 From: TOKER ONUR Message-Id: <199805090520.IAA87966@dpc107.dpc.kfupm.edu.sa> To: freebsd-questions@FreeBSD.ORG Subject: How to get major device numbers ??? Sender: owner-freebsd-questions@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-questions" in the body of the message