summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
* Allow classes to specify local source files.pjd2005-04-071-2/+2
| | | | MFC after: 3 weeks
* Empty error buffer is not an error.pjd2005-04-071-1/+1
| | | | MFC after: 3 weeks
* Fix use of uninitialized buf[0].pjd2005-03-221-2/+2
| | | | | Reported by: stefanf MFC after: 3 days
* Be sure that class name storaed in 'class_name' is lower case.pjd2005-03-141-0/+3
| | | | MFC after: 1 week
* Define subcommands' usage inside g_command structure.pjd2005-03-147-141/+109
| | | | MFC after: 1 week
* - Add gc_usage field to g_command structure. This will allow to definepjd2005-03-142-56/+52
| | | | | | | | | | | | usage for a subcommand, so no 'usage' function has to be implemented in class library. - Bump version number as it breaks ABI, but don't provide backward compatibility, because there are probably no external consumers of this geom(8). This allows to print more precise usage for standard commands and simplify class libraries a bit. MFC after: 1 week
* Instead of documenting every standard subcommand's argument everywhere,pjd2005-03-147-98/+56
| | | | | | just leave reference to geom(8). MFC after: 1 week
* Document subcommands' arguments.pjd2005-03-141-2/+18
| | | | MFC after: 1 week
* Document '-s' option of 'status' subcommand.pjd2005-03-141-0/+6
| | | | MFC after: 1 week
* Add '-s' option to 'status' subcommand. It produces script-friendly output:pjd2005-03-141-26/+50
| | | | | | | | | | | | | | | | | | | # gmirror status Name Status Components mirror/root COMPLETE ad0s1a ad2s1a mirror/data DEGRADED da0 da1 (76%) da2 # gmirror status -s Name Status Components mirror/root COMPLETE ad0s1a mirror/root COMPLETE ad2s1a mirror/data DEGRADED da0 mirror/data DEGRADED da1 (76%) mirror/data DEGRADED da2 MFC after: 1 week
* Use int instead of size_t (%*s needs int).pjd2005-03-141-9/+9
| | | | MFC after: 1 week
* printf(3) expects that %*s having an int parameter, which generatesdelphij2005-03-141-5/+5
| | | | | | | warning on 64-bit platforms. Explicitly cast these values to int to work around this issue, as these values are tend to be small. Spotted by: ia64 tinderbox
* - Document 'status' subcommand.pjd2005-03-138-17/+68
| | | | | | - Update copyrights. MFC after: 1 week
* Add 'status' command which prints general information about devices.pjd2005-03-131-0/+176
| | | | | | | | | | | | | | For example: # gmirror status Name Status Components mirror/root COMPLETE ad0s1a ad2s1a mirror/data DEGRADED da0 da1 (76%) da2 MFC after: 1 week
* Update copyrights.pjd2005-03-131-1/+1
|
* Change function names related to 'list' command from 'show_one_*' topjd2005-03-131-7/+7
| | | | | | 'list_one_*'. MFC after: 1 week
* When listing all devices (geoms) from the given class, skip geoms withoutpjd2005-03-131-0/+2
| | | | | | | | providers. This prevents from listing geoms like <name>.sync which can be confusing. It still allows to show details about it by giving its name when listing. MFC after: 1 week
* Typos and grammar fixes, wordsmithingbrueffer2005-02-281-6/+6
|
* - Add md_provsize field to metadata, which will help withpjd2005-02-276-15/+36
| | | | | | | | | | | | | | | | | shared-last-sector problem. After this change, even if there is more than one provider with the same last sector, the proper one will be chosen based on its size. It still doesn't fix the 'c' partition problem (when da0s1 can be confused with da0s1c) and situation when 'a' partition starts at offset 0 (then da0s1a can be confused with da0s1 and da0s1c). One can use '-h' option there, when creating device or avoid sharing last sector. Actually, when providers share the same last sector and their size is equal, they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c) isn't important at all. - Provide backward compatibility. - Update copyright's year. MFC after: 1 week
* - Add GEOM_LIBRARY_PATH environment variable which allows to specify anpjd2005-02-272-3/+27
| | | | | | | alternative to /lib/geom/ path where shared libraries are stored. - Improve debugging. MFC after: 3 days
* Add SHSEC class to the list of geom(8)-aware classes.pjd2005-02-271-0/+2
| | | | MFC after: 3 days
* Add a missing comma.pjd2005-02-251-1/+1
|
* Fix a couple of grammar nits.trhodes2005-02-241-3/+3
| | | | | PR: 77437 Submitted by: Paul A. Hoadley <paulh@logicsquad.net> (original version)
* Fix year in copyrights.pjd2005-02-162-2/+2
|
* Sort sections.ru2005-01-188-16/+16
|
* Added the EXIT STATUS section where appropriate.ru2005-01-178-8/+8
|
* Fix arguments syntax.pjd2005-01-1514-123/+81
| | | | | Manual pages fixes by: ru MFC after: 3 days
* Markup fixes.ru2005-01-152-19/+27
|
* Connect SHSEC GEOM class to the build.pjd2005-01-112-0/+2
|
* Introduce a new GEOM class - SHSEC. It provides sharing secret betweenpjd2005-01-113-0/+435
| | | | | | | | the given providers. Without even one of the configured components there should be no way to get the secret. Supported by: WHEEL Sp. z o.o. http://www.wheel.pl
* Scheduled mdoc(7) sweep.ru2005-01-101-7/+12
|
* Detect if class name is '-h' or 'help' and if it is, show general helppjd2004-12-281-0/+6
| | | | | | | | | message, i.e.: geom: usage: geom <class> <command> [options] PR: bin/71537 Submitted by: bugghy <bugghy@phenix.rootshell.be> MFC after: 5 days
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-251-0/+1
| | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* - Add genid field to the metadata which will allow to improve reliability a bit.pjd2004-12-221-0/+1
| | | | | | | | | | | | | | | | After this change, when component is disconnected because of an I/O error, it will not be connected and synchronized automatically, it will be logged as broken and skipped. Autosynchronization can occur, when component is disconnected (on orphan event) and connected again - there were no I/O error, so there is no need to not connected the component, but when there were writes while it wasn't connected, it will be synchronized. This fix cases, when component is disconnected because of I/O error and can be connected again and again. - Bump version number. - Add version change history. - Implement backward compatibility mechanism. After this change when metadata in old version is detected, it is automatically upgraded to the new (current) version.
* 'forget' command takes device names, not provider names.pjd2004-12-221-1/+1
|
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* - Turn off 'fast' mode by default and increase maximum memory to consumepjd2004-12-091-3/+3
| | | | | when this mode is used. - Manual page update.
* Note that sysctls documentation is missing.pjd2004-11-052-0/+4
|
* Grammatical and spelling improvements.ceri2004-11-047-64/+65
| | | | Reviewed by: pjd
* Remove extra 's'.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Be more correct.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Remove one more redundant 'not'.pjd2004-11-031-1/+1
|
* Remove redundant 'not'.pjd2004-11-011-1/+1
|
* Embellish the man page after trying to migrate to gstripe from ccd(4).obrien2004-09-261-4/+27
|
* Don't allow to specify wrong stripe size.pjd2004-09-261-1/+11
| | | | Reported by: obrien
* Document '-p' flag for 'insert' command correct.pjd2004-09-181-3/+4
|
* Do not exit after printing usage, give geom(8) a chance to show standardpjd2004-09-172-2/+0
| | | | commands.
* - Show all commands in usage, even if those commands are not available.pjd2004-09-171-19/+32
| | | | | - When command is not available, just say it, instead of says, that command is unknown. Old behaviour seems to be too confusing.
* When configuring RAID3 with verification option, force synchronizationpjd2004-08-301-0/+7
| | | | | | | of parity component, because we can't return an EIO error for read of every sector which wasn't written first. Discussed with: phk
* Warn the user if we are not going to use the whole provider's space.pjd2004-08-281-1/+21
|
OpenPOWER on IntegriCloud