Hi list. The question of the day is: Where does an msdos label begin? In sector 0 or in sector 32 or in sector 63? The answer is: It all depends on what partitions you have in the table.
little script to prove my point (This is run under latest git master branch) <snip> #!/bin/bash parted="/usr/local/sbin/parted" dd if=/dev/zero of=test bs=1M count=100 $parted test mklabel msdos $parted test unit s print free $parted test mkpart primary 50M 100M $parted test unit s print free rm test </snip> Notice that the first time the script prints the free space, it starts in sector 0. And the second time it prints the free space it begins in sector 32. Why, I don't know yet. Going to start to investigate. IMO parted should be consistent as to where the free space begins regardless of the number of partitions in the table. Comments appreciated. Regards. -- Joel Andres Granados Brno, Czech Republic, Red Hat. _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

