[lkml]   [2005]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: fdisk & LBA
    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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-08-12 21:48    [W:0.020 / U:6.140 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site