Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2008 22:44:03 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/geom/misc subr.c subr.h
Message-ID:  <200806062322.m56NMmk3077256@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806062322.m56NMmk3077256>