shaswat
Advanced Member level 4
why kernel assigns 250 as a major number in device driver
Hi all,
I recently stated working on device driver development. Initially, I build a simple driver and application. The thing which I notice are that every time when I inserts my module, kernel assign a major number 250. I wants to know why always it assigns 250 ?? Other thing that I wants to know that I have generated my device file using command "mknod". What about if I want a create a permanent device file in my device memory that remains in it even after shutdown?
Any idea would be really appreciated.
Hi all,
I recently stated working on device driver development. Initially, I build a simple driver and application. The thing which I notice are that every time when I inserts my module, kernel assign a major number 250. I wants to know why always it assigns 250 ?? Other thing that I wants to know that I have generated my device file using command "mknod". What about if I want a create a permanent device file in my device memory that remains in it even after shutdown?
Any idea would be really appreciated.
Last edited: