summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_disk.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve some on the naming.phk2002-06-091-6/+6
| | | | Submitted by: iedowse
* Give the closet-dev_t we hand to the diskdrivers a name.phk2002-05-261-0/+1
|
* Remove the "-class" suffix from classes, they will not be ambiguous.phk2002-05-211-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Make kernel dumps work with GEOM.phk2002-04-191-0/+20
| | | | | | | | | | Notice that if the device on which the dump is set is destroyed for any reason, the dump setting is lost. This in particular will happen in the case of spoilage. For instance if you set dump on ad0s1b and open ad0 for writing, ad0s* will be spoilt and the dump setting lost. See geom(4) for more about spoiling. Sponsored by: DARPA & NAI Labs.
* Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the startphk2002-04-091-0/+2
| | | | | | of the device magic stuff might occupy. Sponsored by: DARPA & NAI Labs.
* In reverence of the 3rd X11 development rule:phk2002-04-081-3/+0
| | | | | | | | | | 3.The only thing worse than generalizing from one example is generalizing from no examples at all. Remove the fwcylinders attribute before anybody gets the idea that we alone have squared the circle. Sponsored by: DARPA & NAI Labs.
* Centralize EOF handling and improve access controls for bio scheduling.phk2002-04-041-0/+2
| | | | Sponsored by: DARPA & NAI Labs
* Move access and orphan member functions from class to geom.phk2002-04-041-4/+2
| | | | Sponsored by: DARPA & NAI Labs
* Initialize a field to cater for ata-raidphk2002-04-021-0/+1
|
* Here follows the new kernel dumping infrastructure.phk2002-03-311-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caveats: The new savecore program is not complete in the sense that it emulates enough of the old savecores features to do the job, but implements none of the options yet. I would appreciate if a userland hacker could help me out getting savecore to do what we want it to do from a users point of view, compression, email-notification, space reservation etc etc. (send me email if you are interested). Currently, savecore will scan all devices marked as "swap" or "dump" in /etc/fstab _or_ any devices specified on the command-line. All architectures but i386 lack an implementation of dumpsys(), but looking at the i386 version it should be trivial for anybody familiar with the platform(s) to provide this function. Documentation is quite sparse at this time, more to come. Details: ATA and SCSI drivers should work as the dump formatting code has been removed. The IDA, TWE and AAC have not yet been converted. Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set the device as dumpdev. To implement the "off" argument, /dev/null is used as the device. Savecore will fail if handed any options since they are not (yet) implemented. All devices marked "dump" or "swap" in /etc/fstab will be scanned and dumps found will be saved to diskfiles named from the MD5 hash of the header record. The header record is dumped in readable format in the .info file. The kernel is not saved. Only complete dumps will be saved. All maintainer rights for this code are disclaimed: feel free to improve and extend. Sponsored by: DARPA, NAI Labs
* Cave in to tradition and rename "methods" to "classes".phk2002-03-261-4/+4
|
* Add a generic and general ioctl pass-through mechanism.phk2002-03-161-14/+28
| | | | 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/+232
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