Date: Wed, 15 Jun 2011 09:30:11 GMT From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: freebsd-geom@FreeBSD.org Subject: Re: kern/157819: [geom] gpart(8): drop serial from MBR Message-ID: <201106150930.p5F9UAeN041536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/157819; it has been noted by GNATS. From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: bug-followup@FreeBSD.org, eirnym@gmail.com, Marcel Moolenaar <marcel@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106150930.p5F9UAeN041536>