public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Sumit Narayan" <sumit_uconn@lycos.com>
To: "Sumit Narayan" <sumit_uconn@lycos.com>
Cc: linux-kernel@vger.kernel.org
Subject: Disk Partition Details - 2.6.0
Date: Tue, 13 Jan 2004 18:48:52 -0500	[thread overview]
Message-ID: <IAGKMJMFCOKCMJAA@mailcity.com> (raw)

Hi,

I would like to know the access to a particular partition on a disk. In 2.4, I used the 'request' structure in the ide-disk.c to obtain the exact drive I was accessing(reading/writing). But, in 2.6, gendisk is being introduced, and I am unable to get to the exact drive I would like to trace. Could someone help me to find the exact drive from within the kernel.

I tried using the gendisk->minor, but that did not help me, as it gave value 64 always, even if I made read/write on different disks. gendisk->major is 3. How do I catch the other partitions/drives?

>From what I know, the partition values are now shifted to block layer. Could you help me find out the exact place, from where I could find out the partition details.

Thanks in advance,
Sumit


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

                 reply	other threads:[~2004-01-13 23:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=IAGKMJMFCOKCMJAA@mailcity.com \
    --to=sumit_uconn@lycos.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox