lkml.org 
[lkml]   [2005]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject2.6 partition support driver methods
Date
From
Dear all,

I have a driver implemented to support single partition in 2.6 kernels.
I have a requirement of supporting multiple partitions in my block driver to support flash media devices.
I have modified the alloc_disk(1) to alloc_dosk(16) to support a MAX of 16 partitions. This way I have conveyed it to the kernel that 16 is my max n/o partitions. I also made a call to add_disk().

Do I need to handle any thing in the request function to handle read/writes to the device partitions?
Please suggest me the required implementation that I may be missing?

Regards,
Mukund Jampala
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-03 16:35    [W:0.039 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site