Index: head/sys/geom/geom_disk.c =================================================================== --- head/sys/geom/geom_disk.c +++ head/sys/geom/geom_disk.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -839,11 +840,14 @@ { struct g_geom *gp; struct g_provider *pp; + char devnamebuf[128]; gp = dp->d_geom; if (gp != NULL) LIST_FOREACH(pp, &gp->provider, provider) (void)g_attr_changed(pp, attr, flag); + snprintf(devnamebuf, 128, "devname=%s%d", dp->d_name, dp->d_unit); + devctl_notify("GEOM", "disk", attr, devnamebuf); } void