https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162690
--- Comment #7 from Ben RUBSON <[email protected]> --- I found a workaround for glabel. At the end of sbin/geom/class/label/geom_label.c, in label_dump, right after label_metadata_dump(&md); I added the following : int fd = g_open(name, 1); if (fd != -1) (void)g_close(fd); Then, 'glabel dump /dev/da*' will refresh labels. Trick also works with GPT, if you g_open(device, 1), labels will be refreshed. Perhaps we could add a glabel refresh option which would simply open/close devices in order to refresh their labels ? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "[email protected]"
