RE: 2.6 partition support driver methods

2005-08-04 Thread Mukund JB.
t;-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 04, 2005 8:09 PM >To: Mukund JB. >Cc: linux-kernel@vger.kernel.org >Subject: Re: 2.6 partition support driver methods > >Mukund JB. <[EMAIL PROTECTED]> wrote: > >> BUT

Re: 2.6 partition support driver methods

2005-08-04 Thread Jonathan Corbet
Mukund JB. <[EMAIL PROTECTED]> wrote: > BUT, when a card is inserted in the socket 3, I am NOT able to mount and > it says. > Mount: /dev/tfa12 is not a valid block device > > Can you convey me where exactly I am missing or why is it failing? First step would be to look in /proc/partitions (and

RE: 2.6 partition support driver methods

2005-08-04 Thread Mukund JB.
Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 04, 2005 12:35 AM >To: Mukund JB. >Cc: linux-kernel@vger.kernel.org >Subject: Re: 2.6 partition support driver methods > >> Do I need to handle any thing in the request function to ha

Re: 2.6 partition support driver methods

2005-08-03 Thread Jonathan Corbet
> Do I need to handle any thing in the request function to handle > read/writes to the device partitions? It looks like you've done most of what you need; in 2.6, block drivers need not worry about the details of partitioning. Lots of details in the block drivers chapter of LDD3 if you need them

2.6 partition support driver methods

2005-08-03 Thread Mukund JB.
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 conve