shaswat
Advanced Member level 4
- Joined
- Jul 2, 2013
- Messages
- 115
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 18
- Activity points
- 963
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: