on 06/12/2010 08:48 Andrey V. Elsukov said the following:
On 06.12.2010 3:37, Yue Wu wrote:
Thanks, I remembered that boot0cfg in the previous version can do it
without changing the sysctl parameter, maybe it's changed in newer
version.
It seems it was broken with r209469.
Something as
On 06.12.2010 13:15, Andriy Gapon wrote:
It seems it was broken with r209469.
Something as simple as what Yue is trying to do could/should be done with
gpart.
But boot0cfg has some additional features...
boot0cfg is already doing this via gpart's ioctl interface.
AFAIR, there is yet
I want to rewrite boot0 into mbr but failed, infos follows:
# boot0cfg -B ad2
boot0cfg: write_mbr: /dev/ad2: Operation not permitted
# ls /dev/ad*
/dev/ad2 /dev/ad2s2 /dev/ad2s2b /dev/ad2s2e /dev/ad2s2g
/dev/ad2s1 /dev/ad2s2a /dev/ad2s2d /dev/ad2s2f /dev/ad2s3
uname -a
FreeBSD
On Sun, Dec 05, 2010 at 04:29:24PM -0800, David Wolfskill wrote:
From boot0cfg(8):
NOTE
Protection mechanisms in the geom(4) subsystem might prevent boot0cfg
from being able to update the MBR on a mounted disk. Instructions for
temporarily disabling these protection
On 06.12.2010 3:37, Yue Wu wrote:
Thanks, I remembered that boot0cfg in the previous version can do it
without changing the sysctl parameter, maybe it's changed in newer
version.
It seems it was broken with r209469.
--
WBR, Andrey V. Elsukov
signature.asc
Description: OpenPGP digital