NetBSD-Bugs archive

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

Re: kern/57409: Feature request: Make GPT detection on VND configuration optional (and/or disable it if configuration is originated from xbdback)



The following reply was made to PR kern/57409; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/57409: Feature request: Make GPT detection on VND configuration optional (and/or disable it if configuration is originated from xbdback)
Date: Tue, 16 May 2023 05:05:57 -0000 (UTC)

 mp%petermann-it.de@localhost writes:
 
 >This can lead to problems if:
 
 > - the GUID of the GPT is already known in the system
 > - the GUID of the GPT partition is known in the system
 
 >Functionally this does not lead to any limitation, it is rather the error message that confuses and the feeling that the host should not try to interfere with the file images unless it is explicitly desired.
 
 It will "interfere" the same, if any other kind of label is used, just less noisy.
 
 
 >For testing it should be sufficient to create a new image with dd, configure it as VND, create a GPT with a partition on it and format it with FFS. Then unconfigure, copy the image to a second file and now copy both images one after the other with vndconfig. When configuring the second image, the error message should appear.
 
 When you clone a GPT based image, you should use 'gpt uuid -a' to create unique UUIDs on
 the copy to avoid such conflicts.
 
 


Home | Main Index | Thread Index | Old Index