All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andries Brouwer <aebr@win.tue.nl>
To: Niraj Kumar <niraj17@iitbombay.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to read partition table
Date: Mon, 22 Dec 2003 14:15:05 +0100	[thread overview]
Message-ID: <20031222131505.GA14766@win.tue.nl> (raw)
In-Reply-To: <3FE6AE25.507@iitbombay.org>

On Mon, Dec 22, 2003 at 02:11:09PM +0530, Niraj Kumar wrote:

> Is there an ioctl command (or sys call) in the latest 2.6 kernel to read 
> the complete partition table
> from user space?

The syscall is called read().

If you want to see it done, look at partx in util-linux.


      reply	other threads:[~2003-12-22 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22  8:41 How to read partition table Niraj Kumar
2003-12-22 13:15 ` Andries Brouwer [this message]

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=20031222131505.GA14766@win.tue.nl \
    --to=aebr@win.tue.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=niraj17@iitbombay.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.