public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How to read partition table
@ 2003-12-22  8:41 Niraj Kumar
  2003-12-22 13:15 ` Andries Brouwer
  0 siblings, 1 reply; 2+ messages in thread
From: Niraj Kumar @ 2003-12-22  8:41 UTC (permalink / raw)
  To: linux-kernel

Hi,

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

Niraj


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to read partition table
  2003-12-22  8:41 How to read partition table Niraj Kumar
@ 2003-12-22 13:15 ` Andries Brouwer
  0 siblings, 0 replies; 2+ messages in thread
From: Andries Brouwer @ 2003-12-22 13:15 UTC (permalink / raw)
  To: Niraj Kumar; +Cc: linux-kernel

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-22 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-22  8:41 How to read partition table Niraj Kumar
2003-12-22 13:15 ` Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox