/[base]
ViewVC logotype

Revision 318394


Jump to revision: Previous Next
Author: araujo
Date: Wed May 17 05:21:03 2017 UTC (7 years, 1 month ago)
Changed paths: 4
Log Message:
MFC r315112, r315196

r315112:
Add the capability to refresh the gpart(8) label without need a reboot.

gpart(8) has functionality to change the label of an GPT partition.
This functionality works like it should, however, after a label change
the /dev/gpt/ entries remain unchanged. glabel(8) status output remains
unchanged. The change only takes effect after a reboot.

PR:		162690
Submitted by:	sub.mesa@gmail, Ben RUBSON <ben.rubson@gmail.com>, ae
Reviewed by:	allanjude, bapt, bcr
Differential Revision:	https://reviews.freebsd.org/D9935

r315196:
After r315112 I broke the tests with eli, instead to pass 0, I should pass
M_NOWAIT to g_media_changed() that will call g_post_event() with this flag.

Reported by:	lwhsu, ngie and ae


Changed paths

Path Details
Directorystable/11/ modified , props changed
Directorystable/11/sbin/geom/class/label/geom_label.c modified , text changed
Directorystable/11/sbin/geom/class/label/glabel.8 modified , text changed
Directorystable/11/sys/geom/part/g_part.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27