On Fri, Aug 12, 2005 at 10:29:13PM +0300, Nanakos Chrysostomos wrote: > Hi all,i want to retrieve the partition table of a primary extended > partition. > My MBR partition table ,says that the LBA Partition Start sector for the > extended partition is 10281600.It is the same that i find with my C code > and through fdisk usage. > How can i use this value to seek(lseek) to this point through the main > block file (/dev/hda or /dev/hdb) and read the partition table of the > logical partition?
Multiply by the sector size (probably 512 bytes). Len Sorensen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/