ioctl to get partitions infos

Ludovic Drolez (ludovic.drolez@freealter.com)
Thu, 17 Apr 2003 12:01:32 +0200


Hi !

As I need more than 'cat /proc/partitions', I wondered if there's an
ioctl in 2.4 or 2.5 which will kindly return me all the information the
kernel knows about partition (start sector, length, type) ? (pls, don't
say that I need the parse the partition table myself ;-( )

Regards,

-- 
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

- 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/