1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sbin/geom
Ulf Lilleengen a468c003ef - When writing metadata to a geom provider, open the it as read-write since it
might do subsequent reads from other providers. This stopped geli (and
  probably other classes using g_metadata_store as well) from being put on top
  of gvinum raid5 volumes.

Note:
The reason it fails in the gvinum raid5 case is that gvinum will read back the
old parity stripe before calculating the new parity stripe to be written out
again.  The write will then fail because the underlying disk to be read is
opened write only.

MFC after:	1 week
2008-12-13 14:14:56 +00:00
..
class Print error messages as-is, when they don't conform to 2008-11-30 23:46:31 +00:00
core Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES 2008-06-04 20:07:59 +00:00
misc - When writing metadata to a geom provider, open the it as read-write since it 2008-12-13 14:14:56 +00:00
Makefile Add NO_MAN for the static variant of geom(8). Both the RESCUE and the 2008-07-03 19:40:59 +00:00
Makefile.inc