devfs_mk_cdev does not create /dev/_DEVICE_

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I try to create device from my module_init function, using
devfs_mk_cdev:

err = devfs_mk_cdev(MKDEV(244, 0), S_IFCHR|S_IRUSR|S_IWUSR, "bong");

but it does not create device in /dev

Return value equals to 0;
My kernel is 2.6.10-1.760_FC3

Your help is much appreciated.

Przemek


------------------------------------------------------------------
0708-108-107 - rozmowy z zagranica za jedyne 35 gr/min.!
Sprawdz: >> http://link.interia.pl/f184d <<


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux