NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52522 (incorrect partition label handling in gpt(8) and kernel (wedges))

On Mon, Jun 04, 2018 at 11:15:50AM +0000, wrote:
> Synopsis: incorrect partition label handling in gpt(8) and kernel (wedges)
> State-Changed-From-To: open->feedback
> State-Changed-By:
> State-Changed-When: Mon, 04 Jun 2018 11:15:50 +0000
> State-Changed-Why:
> Hi. what's the status of this bug? it looks like it might have been fixed, are there remaining issues?

The bug itself may be closed now, although it was only a part of larger
problem - a broken GPT partition management in sysinst. There[1] are, at
least, two problems here (if I rememeber correctly):
 - [probably] invalid calls for dkctl or gpt commands (bad parameters/bad 
   parameters order - tools were changed in meanwhile)
 - inflexible and dangerous algorithm that involves removing other
   partitions and renaming newly created ones[2]: 

Both of them leads to errors like [3] and makes sysinst dangerous when
NetBSD is installed on GPT-partitioned disk alongside of other OS-es. 

I have had an idea about using UUID's as universally unique identifiers
for partitions and wedges, but then kern/52522 appeared.

1 -
2 -
3 -

Best regards,
Piotr 'aniou' Meyer

Home | Main Index | Thread Index | Old Index