From owner-cvs-src-old@FreeBSD.ORG Tue Apr 12 08:10:36 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D02810656E9 for ; Tue, 12 Apr 2011 08:10:36 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 579D48FC17 for ; Tue, 12 Apr 2011 08:10:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p3C8AaCK043138 for ; Tue, 12 Apr 2011 08:10:36 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p3C8Aavi043137 for cvs-src-old@freebsd.org; Tue, 12 Apr 2011 08:10:36 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201104120810.p3C8Aavi043137@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Tue, 12 Apr 2011 08:10:25 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/geom geom_map.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 08:10:36 -0000 adrian 2011-04-12 08:10:25 UTC FreeBSD src repository Modified files: sys/conf files Added files: sys/geom geom_map.c Log: SVN rev 220559 on 2011-04-12 08:10:25Z by adrian Introduce geom_map, a GEOM provider designed for use by embedded flash stores. Some devices - notably those with uboot - don't have an explicit partition table (eg like Redboot's FIS.) geom_map thus provides an easy way to export the hard-coded flash layout as geom providers for use by filesystems and other tools. It also includes a "search" function which allows for dynamic creation of partition layouts where the device only has a single hard-coded partition. For example, if there is a "kernel+rootfs" partition, a single image can be created which appends the rootfs after the kernel with an appropriate search string. geom_map can be told to search for said search string and create a partition beginning after it. Submitted by: Aleksandr Rybalko Revision Changes Path 1.1580 +1 -0 src/sys/conf/files 1.1 +356 -0 src/sys/geom/geom_map.c (new)