summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve some on the naming.phk2002-06-091-1/+1
| | | | Submitted by: iedowse
* Change the registration of magic spaces so it does its own memory management.phk2002-06-051-9/+7
| | | | Sponsored by: DARPA & NAI Labs.
* Introduce the concept of "magic spaces", and implement them in most ofphk2002-05-211-1/+15
| | | | | | | | | | | | | | | | 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.
* Remove the "-class" suffix from classes, they will not be ambiguous.phk2002-05-211-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Generalize a bit: we don't need separate functions to find the i386 andphk2002-05-191-33/+9
| | | | | | alpha disklabels, just one function which is told where to look. Sponsored by: DARPA & NAI Labs.
* Implement the GEOMGETCONF ioctl which returns vital stats for thephk2002-04-231-12/+21
| | | | | | current device in XML in an sbuf. Sponsored by: DARPA & NAI Labs
* Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the startphk2002-04-091-10/+11
| | | | | | of the device magic stuff might occupy. Sponsored by: DARPA & NAI Labs.
* Move access and orphan member functions from class to geom.phk2002-04-041-2/+0
| | | | Sponsored by: DARPA & NAI Labs
* Retire the bogus ioctl DIOCGPART in toto.phk2002-04-021-11/+0
| | | | | | | Once again we can notice that badly thought out hacks ferment and infect far more code than initially expected. Sponsored by: DARPA and NAI Labs.
* In the absense of any smarter way to do this, cast various printfphk2002-03-281-1/+1
| | | | arguments to silence printf format warnings.
* Calculate the checksum the right place for alpha. The fact that thisphk2002-03-271-1/+1
| | | | | worked for the beast disklabel only goes to show how weak a simple parity really is.
* Eliminate some thread pointers which do not make sense anymore.phk2002-03-261-6/+6
| | | | | Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations.
* Cave in to tradition and rename "methods" to "classes".phk2002-03-261-7/+7
|
* Make the BSD method width/endian agnostic and support alphaphk2002-03-241-11/+187
| | | | | | architecture labels as well. Sponsored by: DARPA, NAI Labs.
* Make this compile in the userland-regression testsuite again.phk2002-03-171-13/+3
|
* Add a generic and general ioctl pass-through mechanism.phk2002-03-161-1/+23
| | | | It should now be posible to issue ioctls to SCSI CD drives.
* First commit of the GEOM subsystem to make it easier for people tophk2002-03-111-0/+257
test and play with this. This is not yet production quality and should be run only on dedicated test boxes. For people who want to develop transformations for GEOM there exist a set of shims to run geom in userland (ask phk@freebsd.org). Reports of all kinds to: phk@freebsd.org Please include in report: dmesg sysctl debug.geomdot sysctl debug.geomconf Known significant limitations: no kernel dump facility. ioctls severely restricted. Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud