Re: devfs_mk_cdev does not create /dev/_DEVICE_

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

 



On Monday 07 February 2005 02:11 am, Przemek Urbanski wrote:
> 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
>

Is you devfs mounted? 

tavi

PS: devfs is obsolete, maybe you should try udev


--
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