NetBSD-Bugs archive

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

Re: install/56890: sysinst should ignore default label even in DISKLABEL_NO_ONDISK_VERIFY case



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: install/56890: sysinst should ignore default label even in
 DISKLABEL_NO_ONDISK_VERIFY case
Date: Thu, 16 Jun 2022 18:12:05 +0200

 On Thu, Jun 16, 2022 at 03:45:03PM +0000, Izumi Tsutsui wrote:
 > However, in that case we should disable "disklabel -r" call
 > but should still check if the disklabel information returend
 > by DIOCGDINFO ioctl(2) is the default one, i.e. the target disk
 > doesn't have vaild label.
 
 Yes, that would be preferable. But I have not found a good way to tell
 a default label from a non default one, the details differ from driver
 to driver. Im all open for suggestions.
 
 We can probably improve the current heuristic to deal with the x68k case
 better.
 
 Martin
 


Home | Main Index | Thread Index | Old Index