[3919] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: network device numbers

daemon@ATHENA.MIT.EDU (Carlos E. R. do Valle)
Wed Jul 31 20:10:20 1996

Date: 	Wed, 31 Jul 1996 17:48:56 -0300 (GMT-0300)
From: "Carlos E. R. do Valle" <cerv@ime.usp.br>
To: linux-net@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.93.960731133528.20949A-100000@KamaSutra.procyon.com>


  First of all, thanx for all help.
  I tried to take a look at devices.txt but didn't find anything on my 
problem; there aren't any device numbers for modules (except for a 
certain module request) nor for eth*. Two related things: there isn't a 
'/dev/eth*' and when you look at the man page for MAKEDEV, it mentions 
network devices, but says that 'linux used to have network devices in 
/dev but that is no longer the case' (why not?). 
  As far as I know, the kernel keeps track of all devices through a hash 
table and the major and minor numbers are the location of the device in that 
table. Isn't there any way to access this? 

>>   I couldn't get this information anywhere ...
>>   How do I find out what are the major and minor device numbers for a 
>>network device driver loaded as a module? I'd like to make a character 
>>special file for my driver ('mknod ...').
>>   Please, send answers directly to me, since I'm not in linux-net.
>>
>>
>>Thanx
>>Carlos Eduardo Ribeiro do Valle
   





home help back first fref pref prev next nref lref last post