lkml.org 
[lkml]   [2003]   [Dec]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 22 Dec 2003 14:15:05 +0100
FromAndries Brouwer <>
SubjectRe: How to read partition table
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.

-
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-03-22 12:59    [from the cache]
©2003-2008