summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
...
* Man page accompanying r190423 - introduce UFS ID labels.ivoras2009-03-251-2/+8
| | | | | Actually-by: pjd Approved by: gnn (mentor)
* - Punctuation fixes.pjd2009-02-221-9/+18
| | | | | | | | - New sentence - new line. Reported by: Ben Kaduk <minimarmot@gmail.com> - No more than 80 chars per line.
* Correct the year.pjd2009-02-171-1/+1
| | | | Reported by: Florian Smeets <flo@kasimir.com>
* Document kern.geom.journal.* sysctls.pjd2009-02-171-6/+102
| | | | | | PR: docs/130548 Submitted by: Hywel Mallett <hywel@hmallett.co.uk> MFC after: 1 week
* Prefer the start and end attributes over the offset and sizemarcel2009-02-081-14/+31
| | | | | | attributes. The start and end more accurately describe the space taken by a partition. The offset and size are used to describe the effective (usable) storage of that partition.
* - Use a separate pointer to the allocated memory for freeing, as strsep maylulf2009-02-021-3/+3
| | | | | | | | | | modify the pointer argument passed to it. This triggered an assert in malloc when a geom command being run under the livefs environment. PR: bin/130632 Submitted by: Dimitry Andric <dimitry -at- andric.com> Pointy hat to: me MFC after: 2 days
* - grammar and language fixesdanger2009-01-041-45/+49
| | | | | | | | | - hard sentence breaks - trim EXIT STATUS section and move it to DIAGNOSTICS as well as use .Er macro - sort SEE ALSO MFC after: 7 days
* Several significant updates:ivoras2009-01-041-49/+105
| | | | | | | | | | * Better wording of sections dealing with physical storage * A new section on assumptions gvirstor has on its consumer devices (components) and its interaction with file systems * Improved markup (by hrs@) Reviewed by: hrs Approved by: gnn (mentor)
* - Back out r186038. Rather than changing the intent of the caller, the problemlulf2008-12-271-1/+1
| | | | | | should be handled internally in gvinum. Suggested by: pjd
* - When writing metadata to a geom provider, open the it as read-write since itlulf2008-12-131-1/+1
| | | | | | | | | | | | | | might do subsequent reads from other providers. This stopped geli (and probably other classes using g_metadata_store as well) from being put on top of gvinum raid5 volumes. Note: The reason it fails in the gvinum raid5 case is that gvinum will read back the old parity stripe before calculating the new parity stripe to be written out again. The write will then fail because the underlying disk to be read is opened write only. MFC after: 1 week
* Print error messages as-is, when they don't conform tomarcel2008-11-301-6/+9
| | | | | <errno> [<parameter> 'value'] These are error messages from (lib)geom itself.
* Call gctl_free() after we processed the error string.marcel2008-11-301-5/+11
| | | | It's being freed as part of the request.
* Parse the error string returned by the kernel. The format is:marcel2008-11-291-14/+39
| | | | | | | | <errno> [<parameter> <value>] So, rather than printing the error: gpart: 22 scheme 'gpt' gpart(8) now prints: gpart: scheme 'gpt': invalid argument
* Grammar improvements.delphij2008-11-181-4/+4
| | | | Submitted by: kensmith
* Use humanize_number(), rather than a home-grown algorithm formarcel2008-11-182-13/+7
| | | | | | | | | | | | | formatting a number in a human-friendly way. Note that with this commit a megabyte changed from 1000000 to 1048576 and a 80G disk is now printed as being 75G in size. This is deliberate. It's consistent with the core of geom(8). However, the original choice for a megabyte being 1000000 was on purpose and matches what disk vendors put on the box. The consistency is considered more important. Submitted by: delphij
* Sort includesmarcel2008-11-181-9/+10
| | | | Submitted by: delphij
* Pad the bootcode we write to the partition to a multiple of themarcel2008-11-181-1/+16
| | | | | | | | sector size. Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> Prompted by: delphij MFC after: 3 days
* Add support for multiple attributes. This is required for themarcel2008-10-201-6/+13
| | | | PC98 scheme.
* Add some examples to demostrate gpart(8).delphij2008-10-091-1/+36
| | | | | | | | | | | | | | | --此行及以下内容将会被忽略-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M gpart.8
* By default backup geli metadata to a file. It is quite critical 512 bytes,pjd2008-08-292-17/+110
| | | | | | | | | | | | | | | | | | | | | | | once it is lost, all data is gone. Option '-B none' can by used to prevent backup. Option '-B path' can be used to backup metadata to a different file than the default, which is /var/backups/<prov>.eli. The 'geli init' command also prints backup file location and gives short procedure how to restore metadata. The 'geli setkey' command now warns that even after passphrase change or keys update there could be version of the master key encrypted with old keys/passphrase in the backup file. Add regression tests to verify that new functionality works as expected. Update other regression tests so they don't create backup files. Reviewed by: keramida, rink Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata MFC after: 2 weeks
* - Give algorithms recommendation.pjd2008-08-291-13/+15
| | | | - Keep options in alphabetical order.
* geli onetime command can take only one GEOM provider at a time.pjd2008-08-122-3/+3
|
* Clean up of dead code and possible unassigned variable usage.ivoras2008-08-091-3/+7
| | | | | Found by: LLVM/Clang Static Checker Approved by: gnn (mentor)
* Add NO_MAN for the static variant of geom(8). Both the RESCUE and themarcel2008-07-031-0/+1
| | | | | | RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily to avoid that developers have to set NO_MAN manually when they build the static variant.
* Implement the set and unset verbs. While here, have the manpagemarcel2008-06-182-11/+84
| | | | catch up with various changes.
* Implement the -l and -r options for gpart show.marcel2008-06-131-6/+32
| | | | | | The -l option changes the output to show the partition label, if applicable and when present. The -r option changes the output to show the raw (i.e. scheme-specific) partition types.
* Document the new -p and -i options for writing bootstrap code intomarcel2008-06-071-8/+24
| | | | | a partition. Make it clear that the -b option embeds boot code in the meta-data.
* Enhance the bootcode command to also allow bootcode to be writtenmarcel2008-06-061-25/+143
| | | | | to a partition. This avoids that users need to use dd(1) to install boot code (as is needed for VTOC8 and booting GPT on PCs).
* Add two support functions:marcel2008-06-062-0/+47
| | | | | | | | | | | | | o gctl_delete_param() -- intended for parameters that are consumed by geom(8) itself and which should not be passed to the kernel. o gctl_has_param() -- intended to check if optional parameters are present. Both are needed by gpart(8) to process the optional parameter for writing bootcode to a partition (as part of the bootcode verb). However, the kernel is itself not involved in this matter and the parameter needs to be removed from the request destined for the kernel.
* Update the manpage to reflect reality:marcel2008-06-061-3/+32
| | | | | | o The BSD, PC98 and VTOC8 schemes are supported. o The bootcode command was added to allow installing bootstrap code into the scheme's metadata.
* Allow building a static geom(8) for release related crunchedmarcel2008-06-051-1/+1
| | | | | binaries. In particular, this allows geom to be added to the boot_crunch binary on ia64.
* Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSESmarcel2008-06-044-8/+8
| | | | | | and define STATIC_GEOM_CLASSES when building the rescue binary. This way geom can more easily be part of other crunched binaries, as it requires only a Makefile change.
* Add the bootcode verb for installing boot code. Boot codemarcel2008-04-131-3/+47
| | | | | is supported for the MBR, GPT and PC98 schemes, where GPT installs boot code into the PMBR.
* I keep taking timemachines to get back in time. Update theremko2008-04-131-1/+1
| | | | | | year to 2008. Noticed by: ceri
* Add missing device in tunefs entry.remko2008-04-131-2/+2
| | | | | | PR: docs/122702 Submitted by: Yoshihiro Ota <ota@j.email.ne.jp> MFC After: 3 days
* - Use an uppercase provider name in the example, to make the name changebrueffer2008-03-131-7/+7
| | | | | | | | | after labeling the provider more obvious. (1) - Correct nomenclature usage PR: 121487 (1) Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> MFC after: 3 days
* Fix typos.brueffer2008-03-081-2/+2
| | | | | | PR: 121486 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> MFC after: 3 days
* Make it possible to build glabel into rescue geom(8) utility.delphij2008-03-053-5/+18
| | | | | Ok'ed by: marcel No objection: -current@
* Add info about few missing GEOM classes that use geom(8).pjd2008-03-051-1/+13
|
* - Update geom(8) to explain that GEOM_LIBRARY_PATH can take a comma-separatedlulf2008-02-051-0/+1
| | | | | | | list of paths. Approved by: pjd (mentor) MFC after: 2 days
* - Make geom commands handle multiple library paths in the GEOM_LIBRARY_PATHlulf2008-02-041-11/+31
| | | | | | | environment variable using ':' as a separator. Approved by: pjd (mentor) MFC after: 3 days
* Minor language cleanup.brueffer2007-11-241-3/+3
| | | | MFC after: 3 days
* Fix signed/unsigned comparison compiler warning.jb2007-11-181-2/+2
|
* Briefly document what the -c option of the "label" command does.ru2007-11-151-1/+3
| | | | MFC after: 3 days
* Revise the markup and apply some wordsmithing.ru2007-11-151-24/+27
| | | | | Reviewed by: pjd MFC after: 3 days
* Allow building of a special rescue version of geom thatmarcel2007-11-043-4/+44
| | | | has a subset of the classes compiled-in.
* Fix a last-minute, but more importantly, an untested change thatmarcel2007-10-211-1/+1
| | | | | made the previous commit non-functional: the usage string was put in the wrong field...
* Add the show command to print the partition information ala gpt(8).marcel2007-10-212-6/+205
| | | | | Update the manpage accordingly. While here, mention the MBR scheme and add a bugs section. With this commit gpt(8) can be obsoleted.
* Bring in the GEOM Virtualisation class, which allows to create huge GEOMpjd2007-09-235-1/+823
| | | | | | | | | providers with limited physical storage and add physical storage as needed. Submitted by: Ivan Voras Sponsored by: Google Summer of Code 2006 Approved by: re (kensmith)
* For arguments declared as numbers always use expand_number(3).pjd2007-09-211-3/+1
| | | | | | | | | | | | | | This allows to use numbers in human-readable form in many geom(8) utilities. Such a simple change and makes live so much nicer. Some examples: gstripe label -s 16k gmirror label -s 4k gnop create -o 1g -s 128m -S 2k gjournal label -s 2g geli label -i 128k -s 4k Approved by: re (kensmith)
OpenPOWER on IntegriCloud