LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   arguments of mknod command (https://www.linuxquestions.org/questions/linux-newbie-8/arguments-of-mknod-command-4175453096/)

rahulbolia 03-07-2013 06:15 AM

arguments of mknod command
 
hi!!
i want to send some information from user space to kernel.
can somebody please tell what MAJOR and MINOR numbers should i use to create a file in the /dev directory for this purpose.

NevemTeve 03-07-2013 06:36 AM

Your question makes no sense. What information do you want to send to which component of the kernel?

rahulbolia 03-07-2013 08:01 AM

i want the user process to send its PID to a kernel module.

NevemTeve 03-07-2013 08:24 AM

Which kernel module is interested in a random process' PID?

rahulbolia 03-07-2013 08:31 AM

i am writing my own kernel module and i just want the user process to tell its pid to the kernel module.
And just to answer your question my kernel module is very much interested in random things.


All times are GMT -5. The time now is 05:12 AM.