Bug 197766 - [patch] GEOM_MAP does not build
Summary: [patch] GEOM_MAP does not build
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: Andrey V. Elsukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 18:06 UTC by Eugene Grosbein
Modified: 2017-08-21 10:26 UTC (History)
2 users (show)

See Also:


Attachments
patch for geom_map.c, NOTES and options (2.37 KB, patch)
2015-02-17 18:06 UTC, Eugene Grosbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein 2015-02-17 18:06:27 UTC
Created attachment 153111 [details]
patch for geom_map.c, NOTES and options

geom_map(4) is present in kernel source since 9.0-RELEASE but is not included in sys/conf/options and does not build for amd64 due to printf format bugs. The following patch makes it possible to use "options GEOM_MAP" in a kernel configuration file, includes GEOM_MAP to the NOTES and fixes format bugs.

The patch is production-tested with amd64 platform and compile-tested with i386.
Comment 1 Eugene Grosbein freebsd_committer freebsd_triage 2017-08-20 13:21:16 UTC
Suggected code changes are already in stable/10 (and 9.3 is EoL).
It needs to update sys/conf/options and sys/conf/NOTES only.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-08-21 10:07:49 UTC
A commit references this bug:

Author: ae
Date: Mon Aug 21 10:07:13 UTC 2017
New revision: 322744
URL: https://svnweb.freebsd.org/changeset/base/322744

Log:
  MFC r284152:
    Add makefile to build geom_map kld. Document some GEOM_* options
    in NOTES and geom(4).

  PR:		197766
  Approved by:	re (kib)

Changes:
_U  stable/10/
  stable/10/share/man/man4/geom.4
  stable/10/share/man/man4/geom_map.4
  stable/10/sys/conf/NOTES
  stable/10/sys/conf/options
  stable/10/sys/modules/geom/geom_map/