(1)allocate a gendisk for each disk
The gendisk structure is allocated using alloc_disk by passing minor number
Minor number means the number of partitions. Hence, 1 means no partition
(2)assign a request queue for each gendisk
(3)gendisk structures are registered using add_disk function
2008年3月13日 星期四
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言