Index: sys/geom/geom_disk.c
===================================================================
--- sys/geom/geom_disk.c (revision 254924)
+++ sys/geom/geom_disk.c (working copy)
@@ -429,7 +429,7 @@
struct disk *dp;
struct g_disk_softc *sc;
char *buf;
- int res = 0;
+// int res = 0;
sc = gp->softc;
if (sc == NULL || (dp = sc->dp) == NULL)
@@ -448,6 +448,7 @@
buf = g_malloc(DISK_IDENT_SIZE, M_WAITOK);
bp = g_alloc_bio();
bp->bio_disk = dp;
+/*
bp->bio_attribute = "GEOM::ident";
bp->bio_length = DISK_IDENT_SIZE;
bp->bio_data = buf;
@@ -454,6 +455,8 @@
res = dp->d_getattr(bp);
sbuf_printf(sb, "%s%s\n", indent,
res == 0 ? buf: dp->d_ident);
+*/
+ sbuf_printf(sb, "%s0\n", indent);
bp->bio_attribute = "GEOM::lunid";
bp->bio_length = DISK_IDENT_SIZE;
bp->bio_data = buf;