svn commit: r251929 - stable/9/sys/geom/raid
Alexander Motin
mav at FreeBSD.org
Tue Jun 18 09:44:56 UTC 2013
Author: mav
Date: Tue Jun 18 09:44:55 2013
New Revision: 251929
URL: http://svnweb.freebsd.org/changeset/base/251929
Log:
MFC r249974:
Return "descr" field alike to "Intel RAID1 volume" for GEOM RAID to make
it look better in bsdinstall.
Modified:
stable/9/sys/geom/raid/g_raid.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/geom/raid/g_raid.c
==============================================================================
--- stable/9/sys/geom/raid/g_raid.c Tue Jun 18 09:43:10 2013 (r251928)
+++ stable/9/sys/geom/raid/g_raid.c Tue Jun 18 09:44:55 2013 (r251929)
@@ -2357,6 +2357,10 @@ g_raid_dumpconf(struct sbuf *sb, const c
vol = pp->private;
g_topology_unlock();
sx_xlock(&sc->sc_lock);
+ sbuf_printf(sb, "%s<descr>%s %s volume</descr>\n", indent,
+ sc->sc_md->mdo_class->name,
+ g_raid_volume_level2str(vol->v_raid_level,
+ vol->v_raid_level_qualifier));
sbuf_printf(sb, "%s<Label>%s</Label>\n", indent,
vol->v_name);
sbuf_printf(sb, "%s<RAIDLevel>%s</RAIDLevel>\n", indent,
More information about the svn-src-stable-9
mailing list