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

From: "Andrey V. Elsukov" <[email protected]>
To: [email protected], [email protected], 
 Marcel Moolenaar <[email protected]>
Cc:  
Subject: Re: kern/157819: [geom] gpart(8): drop serial from MBR
Date: Wed, 15 Jun 2011 13:21:59 +0400

 Hi,
 
 Yes, you are right. `gpart bootcode` does not keep disk signature.
 It just overwrites the whole sector and fills partition table area.
 
 I see three ways how this can be fixed:
 1. Do not change anything :)
 2. Always keep disk signature for each boot code.
 3. Introduce new option for `gpart bootcode` command, i.e:
 # gpart bootcode -b /boot/boot0 -o some,boot,options ada0
 
 where 'some,boot,options' string, that contains separated by comma
 options which are handled with a scheme specific code.
 
 -- 
 WBR, Andrey V. Elsukov
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to