sgdisk 0.8.1-1build1: "--largest-new=0" option not working as documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdisk (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
the man page for sgdisk(8) states that for the "--largest-new=num" option "A num value of 0 causes the program to use the first available partition number." this does not appear to be the case. using a value of 0 returns the following error:
% sgdisk --version
GPT fdisk (sgdisk) version 0.8.1
% sudo /sbin/sgdisk /dev/xenvg/
Could not create partition 0 from 34 to 16777182
Error encountered; not saving changes.
values >0 work and the "--new=
thank you.
% lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04
% apt-cache policy gdisk
gdisk:
Installed: 0.8.1-1build1
Candidate: 0.8.1-1build1
Version table:
*** 0.8.1-1build1 0
100 /var/lib/
0.5.1-1 0
500 http://
Confirmed on 12.04 as well:
sudo sgdisk --largest-new=0 /dev/vdb
Creating new GPT entries.
Could not create partition 0 from 34 to 41943006
Error encountered; not saving changes.