[EMAIL PROTECTED] wrote: > Hello Michael, > > thank you for helping with testing. > >>Error: Can't have a partition outside the disk! >> >>Is this an intended change in the UI or an unexpected side effect? > The latter. Fixed.
I picked up the new unit.c. Your fix is an improvement. I tried a length of -11 in creating the partition and it worked. I tried -1, again, and it still fails. Previously, -11 would fail also. Using /dev/sdx (parted) unit s (parted) print Disk geometry for /dev/sdx: 0s - 71687371s Disk label type: dvh <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< DVH, if it matters Number Start End Size Type File system Name Flags 9 0s 16064s 16065s extended (parted) mkpart Partition type? primary/logical? p File system type? [ext2]? Start? 16100 End? -1 Error: The location -1 is outside of the device /dev/sdx. (parted) (parted) (parted) mkpart Partition type? primary/logical? p File system type? [ext2]? Start? 16100 End? -11 (parted) print Disk geometry for /dev/sdx: 0s - 71687371s Disk label type: dvh Number Start End Size Type File system Name Flags 9 0s 16064s 16065s extended 1 16099s 71687363s 71671265s primary In the course of this testing I noticed that prefixing '=' to a sector number results in an invalid number. Is this another UI change? :) If so, how do I create a partition at exactly the start/end that I want? (parted) rm 1 (parted) (parted) mkpart Partition type? primary/logical? p File system type? [ext2]? Start? =16100 Error: Invalid number. I'm out of here now. Have a good weekend. Mike _______________________________________________ Bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
