Re: [Gptfdisk-general] sgdisk: Slightly more verbose when choosing first available partNum
Brought to you by:
srs5694
|
From: Rod S. <rod...@ro...> - 2021-10-09 20:52:31
|
On 10/9/21 9:53 AM, u3...@ne... wrote: > Hello, > Relating to 1.0.8, and prior versions: > With, for example, > > sgdisk --new:0:0:+10000000 /dev/sdc > > it can print > > partNum is 2 Actually, it should never print that message with the --new command. In fact, it *SHOULD* never print that message at all; however, I did find a stray bit of debugging code that prints such a message in the -c/--change-name function of sgdisk. I've removed this code from the source code; the change is now in the git repository. > . Meaning, while the first available partition number is 3, it prints > partNum is 2. Which looks to me a bit confusing. Takes time to get used to. > I think it should be a bit more verbose. Something like: > > Last used partNum is 2 > Or, > Last used partNum is 2. Will create partNum 3. > Or, > Highest used partNum is 2 > Or, > First available partNum is 3 > > -- > u34 > > > _______________________________________________ > Gptfdisk-general mailing list > Gpt...@li... > https://lists.sourceforge.net/lists/listinfo/gptfdisk-general > -- Rod Smith rod...@ro... http://www.rodsbooks.com |