cvs commit: src/sbin/geom/misc subr.c subr.h
Marcel Moolenaar
marcel at FreeBSD.org
Fri Jun 6 23:22:48 UTC 2008
marcel 2008-06-06 22:44:03 UTC
FreeBSD src repository
Modified files:
sbin/geom/misc subr.c subr.h
Log:
SVN rev 179628 on 2008-06-06 22:44:03Z by marcel
Add two support functions:
o gctl_delete_param() -- intended for parameters that are consumed
by geom(8) itself and which should not be passed to the kernel.
o gctl_has_param() -- intended to check if optional parameters are
present.
Both are needed by gpart(8) to process the optional parameter for
writing bootcode to a partition (as part of the bootcode verb).
However, the kernel is itself not involved in this matter and the
parameter needs to be removed from the request destined for the
kernel.
Revision Changes Path
1.8 +44 -0 src/sbin/geom/misc/subr.c
1.9 +3 -0 src/sbin/geom/misc/subr.h
More information about the cvs-src
mailing list