]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Redefine G_PART_SCHEME_DECLARE() from populating a private linker set
authorMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 23 Mar 2008 01:31:59 +0000 (01:31 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Sun, 23 Mar 2008 01:31:59 +0000 (01:31 +0000)
commit4ffca444a54238c083924259bcaf295a730bbe54
tree990452ef2aa40dcdf7acbf8963fada5059b37e6b
parent8a8fcb00899ee0df63f31de53a3786ea885c82d9
Redefine G_PART_SCHEME_DECLARE() from populating a private linker set
to declaring a proper module. The module event handler is part of the
gpart core and will add the scheme to an internal list on module load
and will remove the scheme from the internal list on module unload.
This makes it possible to dynamically load and unload partitioning
schemes.
sys/geom/part/g_part.c
sys/geom/part/g_part.h
sys/geom/part/g_part_apm.c
sys/geom/part/g_part_bsd.c
sys/geom/part/g_part_gpt.c
sys/geom/part/g_part_mbr.c
sys/geom/part/g_part_vtoc8.c