summaryrefslogtreecommitdiffstats
path: root/sbin/geom/misc
Commit message (Collapse)AuthorAgeFilesLines
* Implement 3 new functions:pjd2004-06-162-4/+77
| | | | | | | | | | - g_lcm() - calculates Least Common Multiple of two given values, it is helpful when we need to find sector size for provider which is based on disks with different sector size; - g_get_mediasize() - returns media size of given provider; - g_get_sectorsize() - returns sector size of given provider; Those function aren't used now, but are used by geom_mirror which will be committed soon.
* Bring in geom(8) utility. It is an universal utility for operating onpjd2004-05-202-0/+285
GEOM classes. It works by loading a shared library via dlopen(3) mechanism with class-specific code, it is also responsible for communicating with GEOM via libgeom(3). Per-class shared libraries are going to be stored in /lib/geom/ directory. It provides also few standard commands like 'list', 'load' and 'unload' for existing classes which aren't aware of geom(8). More info will be send on freebsd-current@ mailing list. Supported by: Wheel - Open Technologies - http://www.wheel.pl
OpenPOWER on IntegriCloud