From owner-cvs-all Tue May 21 13:33:55 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B6DA437B405; Tue, 21 May 2002 13:33:49 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4LKXnS49272; Tue, 21 May 2002 13:33:49 -0700 (PDT) (envelope-from phk) Message-Id: <200205212033.g4LKXnS49272@freefall.freebsd.org> From: Poul-Henning Kamp Date: Tue, 21 May 2002 13:33:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom.h geom_bsd.c geom_dump.c geom_mbr.c geom_subr.c geom_sunlabel.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/05/21 13:33:49 PDT Modified files: sys/geom geom.h geom_bsd.c geom_dump.c geom_mbr.c geom_subr.c geom_sunlabel.c Log: Introduce the concept of "magic spaces", and implement them in most of the relevant classes. Some methods may implement various "magic spaces", this is reserved or magic areas on the disk, set a side for various and sundry purposes. A good example is the BSD disklabel and boot code on i386 which occupies a total of four magic spaces: boot1, the disklabel, the padding behind the disklabel and boot2. The reason we don't simply tell people to write the appropriate stuff on the underlying device is that (some of) the magic spaces might be real-time modifiable. It is for instance possible to change a disklabel while partitions are open, provided the open partitions do not get trampled in the process. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.17 +30 -0 src/sys/geom/geom.h 1.15 +15 -1 src/sys/geom/geom_bsd.c 1.9 +19 -0 src/sys/geom/geom_dump.c 1.9 +7 -1 src/sys/geom/geom_mbr.c 1.10 +33 -0 src/sys/geom/geom_subr.c 1.10 +4 -1 src/sys/geom/geom_sunlabel.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message