In message <alpine.gso.1.10.1110242118020....@multics.mit.edu>, Benjamin Kaduk 
writes:
>On Mon, 24 Oct 2011, Andrey V. Elsukov wrote:

>> This is stale message. boot0cfg might work without this.
>
>On a *mounted* disk? Surely that qualifies as an "open" for the purposes 
>of the check.

The way this used to work before gpart, is that boot0cfg would send
a GEOM ctl-message to the MBR-geom asking "Would you please write this
boot code ?"

Since the MBR-geom was the "owner" of the whole disk, and the one
who had it open for writing, it could obviously do so, if  it saw fit,
and after it had edited its idea about the mbr-partition table into
that boot-code.

Gpart appearantly does not implement such a ctl message.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
p...@freebsd.org         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to