diff options
-rw-r--r-- | sys/geom/part/g_part.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index a92b848..d5862a0 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -2065,8 +2065,10 @@ g_part_resize(struct g_consumer *cp) table->gpt_opened = 1; } if (G_PART_RESIZE(table, NULL, NULL) == 0) - printf("GEOM_PART: %s was automatically resized\n", - cp->geom->name); + printf("GEOM_PART: %s was automatically resized.\n" + " Use `gpart commit %s` to save changes or " + "`gpart undo %s` to revert them.\n", cp->geom->name, + cp->geom->name, cp->geom->name); if (g_part_check_integrity(table, cp) != 0) { g_access(cp, -1, -1, -1); table->gpt_opened = 0; |