Re: parted complain with negative number as argument for mkpart sub-command

2011-07-11 Thread Brian C. Lane
On Sun, Jul 10, 2011 at 03:31:13PM +0800, Chunyang Liu wrote: > hi guys, > > i want to create a partition on my disk using parted. the new > partition will fill all remain space on the disk. as man page said, > i can use negative number as argument to count from end of the disk. > > but i found p

parted complain with negative number as argument for mkpart sub-command

2011-07-10 Thread Chunyang Liu
hi guys, i want to create a partition on my disk using parted. the new partition will fill all remain space on the disk. as man page said, i can use negative number as argument to count from end of the disk. but i found parted doesn't work. following is the command i tried: # parted -s /dev/