Subject: Re: bin/36223
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Milos Negovanovic <milos.negovanovic@googlemail.com>
List: netbsd-bugs
Date: 04/26/2007 09:20:02
The following reply was made to PR bin/36223; it has been noted by GNATS.

From: Milos Negovanovic <milos.negovanovic@googlemail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/36223
Date: Thu, 26 Apr 2007 10:14:59 +0100

 --lrZ03NoBR/3+SXJZ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 hmm thanks to Nikolay Kalev ... patch :)
 
 *******************************************************************************
 diff -ruN sbin.old/fdisk.c sbin.new/fdisk.c
 --- sbin.old/fdisk.c    Sun Mar 11 11:02:47 2007
 +++ sbin.new/fdisk.c    Thu Apr 26 16:31:20 2007
 @@ -2066,8 +2066,10 @@
                  * somewhere to safely write the menu tag.
                  */
                 if (boot->mbr_bootsel_magic != LE_MBR_BS_MAGIC) {
 +                   if (!f_flag) {
                         if (yesno("The bootselect code is not installed, "
                                             "do you want to install it now?"))
 +                   }           
                                 install_bootsel(MBR_BS_ACTIVE);
                 }
                 if (boot->mbr_bootsel_magic == LE_MBR_BS_MAGIC) {
 
 *******************************************************************************
 
 ... attached as well.
 
 Regards
 Milos
 
 --lrZ03NoBR/3+SXJZ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="fdisk.diff"
 
 diff -ruN sbin.old/fdisk.c sbin.new/fdisk.c
 --- sbin.old/fdisk.c	Sun Mar 11 11:02:47 2007
 +++ sbin.new/fdisk.c	Thu Apr 26 16:31:20 2007
 @@ -2066,8 +2066,10 @@
  		 * somewhere to safely write the menu tag.
  		 */
  		if (boot->mbr_bootsel_magic != LE_MBR_BS_MAGIC) {
 +		    if (!f_flag) {
  			if (yesno("The bootselect code is not installed, "
  					    "do you want to install it now?"))
 +		    }
  				install_bootsel(MBR_BS_ACTIVE);
  		}
  		if (boot->mbr_bootsel_magic == LE_MBR_BS_MAGIC) {
 
 --lrZ03NoBR/3+SXJZ--