Partition table to parted script

Michael Tautschnig mt at debian.org
Mon Mar 7 13:02:44 CET 2011


Hi Julien,

[...]
> Unfortunately, with msdos partition tables this doesn't yield the exact
> same result due to alignment issues. Basically, I'm only using the
> script for GPT partition tables aligned to 1 MiB boundary.
> 

[...]

I have no idea about the python-parted API, but isn't there some alternative to
using the geometry in

start = part.geometry.start * disk.device.sectorSize

? This sounds really dangerous as the C/H/S geometry (if that is what geometry
is about) isn't really useful anymore these days...

Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20110307/55bcd6b9/attachment.bin>


More information about the linux-fai-devel mailing list