Ex5.1 Q4

If we use 


WHY do we need the 

and  the 

we will always want the STARTING 

to be 0

and the 

will return us the 
 dev_t dev

so we can extract the 

 major_num = MAJOR(dev); 

whenever we want!!!



Asked on September 30, 2019 in Linux Kernel.
Add Comment
1 Answer(s)


Answered on October 3, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.