Date: Tue, 21 May 2002 13:33:49 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> 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 Message-ID: <200205212033.g4LKXnS49272@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205212033.g4LKXnS49272>
