Can anyone tell me what is the equivalent linux command for "makedevice" in Solaris.
Actually, I need to issue ioctl command to a device in Kernel mode. The device major, minor numbers are available. In Solaris, "makedevice" is used to create the device and pass the return value as file descriptor to ioctl system call. I want to know how it can be done in linux.