cvs commit: src/sys/geom/part g_part.c g_part.h g_part_apm.c
g_part_bsd.c g_part_gpt.c g_part_mbr.c g_part_vtoc8.c
Marcel Moolenaar
marcel at FreeBSD.org
Sat Mar 22 18:32:00 PDT 2008
marcel 2008-03-23 01:31:59 UTC
FreeBSD src repository
Modified files:
sys/geom/part g_part.c g_part.h g_part_apm.c
g_part_bsd.c g_part_gpt.c g_part_mbr.c
g_part_vtoc8.c
Log:
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.
Revision Changes Path
1.16 +108 -21 src/sys/geom/part/g_part.c
1.7 +15 -1 src/sys/geom/part/g_part.h
1.5 +1 -1 src/sys/geom/part/g_part_apm.c
1.4 +1 -1 src/sys/geom/part/g_part_bsd.c
1.6 +1 -1 src/sys/geom/part/g_part_gpt.c
1.5 +1 -1 src/sys/geom/part/g_part_mbr.c
1.2 +1 -1 src/sys/geom/part/g_part_vtoc8.c
More information about the cvs-src
mailing list