Re: free major number

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Mon, 11 Aug 1997 00:06:48 +0200


> I want to write a driver for linux and need to place an inode
> representing a device into /dev directory. What major number could I use to
> be sure nobody uses it already ?

Pawel,
Please see /usr/src/linux/Documentation/devices.txt for details. You
can use major 42 for experimental use, as well as 60-63, 120-127,
and 240-254. If you need a permanent major, you'd have to register
one according to the instructions outlined in this document.

Regards,
Martin