Date: Sat, 9 May 1998 07:39:00 +0300 From: TOKER ONUR <onur@dpc107.dpc.kfupm.edu.sa> To: freebsd-hackers@FreeBSD.ORG Subject: How to get major device numbers ??? Message-ID: <199805090439.HAA74403@dpc107.dpc.kfupm.edu.sa>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805090439.HAA74403>
