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

Attachment: pgpoUooiAiPvv.pgp
Description: PGP signature

Reply via email to