use fdisk.h to do all ur stuff.
Archan Paul
Lateral Linux Labs
[EMAIL PROTECTED]
Kedar Patankar wrote:
>
> Hi,
>
> > Is there an equivalent system call for fdisk which I can use in my
> > program, to get the partition table.
>
> Why do you *need* a system call for doing such a thing? You can do
> it as well by just reading the raw device (/dev/hda or whatever) and
> interpreting the contents. Partition table format is not secret.
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help