summaryrefslogtreecommitdiffstats
path: root/sbin/geom
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | Convert sbin/ to LIBADDbapt2014-11-258-16/+8
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking
* | | | | | | | | | | Fix geom's "usage" generation to not fabricate usage/help output for anyfeld2014-11-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imaginary class we give it. Differential Revision: https://reviews.freebsd.org/D1150 Submitted by: homerj Approved by: pjd
* | | | | | | | | | | Turn off kern.geom.part.mbr.enforce_chs by default.ae2014-08-121-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Remove duplicate entry.ae2014-08-121-7/+0
| | | | | | | | | | |
* | | | | | | | | | | Add sysctl and loader tunable kern.geom.part.mbr.enforce_chs that is setae2014-08-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by default. It can be used to disable automatic alignment to CHS geometry, that GEOM_PART_MBR does. Reviewed by: wblock MFC after: 1 week
* | | | | | | | | | | Add generic list, status, load and unload docs to gpart(8)issyl02014-08-031-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In the style of gmirror(8). PR: docs/191534 Reviewed by: gavin
* | | | | | | | | | | mdoc: sort sections.joel2014-07-291-4/+4
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | Fix non-version text after .Fx macro usage.gjb2014-07-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | | | | | | | | After EFI support was added to the installer, it needed to allow bootnwhitehorn2014-07-041-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partitions of types other than "freebsd-boot" (in particular, "efi"). This allows the removal of some nasty hacks for supporting PowerPC systems, in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific code on MBR. This changes the installer to use the correct names, which also breaks a degeneracy in the meaning of "freebsd-boot" that allows the addition of support for some newer IBM systems that can boot from GPT in addition to MBR. Since I have no idea how to detect which those systems are, leave the default on IBM PPC systems as MBR for now.
* | | | | | | | | | Document all aliases supported by GEOM_PART class.ae2014-07-011-13/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 week
* | | | | | | | | | use .Mt to mark up email addresses consistently (part1)bapt2014-06-2017-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | | | | | | | | | Fix spelling, typos, missing articles, contractions. Expanded versionwblock2014-06-181-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of patch supplied with PR. PR: 191001 Submitted by: olgeni MFC after: 1 week
* | | | | | | | | | Add disklabel64 support to GEOM_PART class.ae2014-06-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partitioning scheme is used in DragonFlyBSD. It is similar to BSD disklabel, but has the following improvements: * metadata has own dedicated place and isn't accessible through partitions; * all offsets are 64-bit; * supports 16 partitions by default (has reserved place for more); * has reserved place for backup label (but not yet implemented); * has UUIDs for partitions and partition types; No objections from: geom MFC after: 2 weeks Relnotes: yes
* | | | | | | | | | Minor mdoc improvements.joel2014-06-061-1/+1
| | | | | | | | | |
* | | | | | | | | | The 'create' subcommand doesn't have '-h' option.pjd2014-06-061-1/+1
| | | | | | | | | |
* | | | | | | | | | Bulk document the kern.geom.label.*.enable sysctls and tunables.ivoras2014-06-041-0/+13
| | | | | | | | | |
* | | | | | | | | | Document the diskid automatic label class.ivoras2014-06-021-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While there, also document the glabel "native" labels and explain why there are additional nodes created for nested GEOM classes. Reminded by: jmg
* | | | | | | | | | Document VMware-related filesystems additions.marck2014-05-211-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: jmg MFC after: 1 week
* | | | | | | | | | Add mention of metadata version 7 in FreeBSD 10.0thomas2014-05-131-0/+2
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: pjd MFC after: 1 day
* | | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* | | | | | | | Document more parition types.ae2014-04-021-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: glebius MFC after: 1 week
* | | | | | | | Check if the given argument to 'gpart add' is actually a geom device andlme2014-01-091-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | give a hint to use 'gpart create' before trying to add a partition. Approved by: pjd
* | | | | | | | Don't allow to create GELI providers with a sector size, which is no apjd2014-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | power of 2. Noticed by: rwatson MFC after: 3 days
* | | | | | | | Improve wording slightly.joel2013-12-271-3/+1
| | | | | | | |
* | | | | | | | Add an ability to stop gmirror and clear its metadata in one command.ae2013-12-272-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the problem, when gmirror starts again just after stop. The problem occurs when gmirror's component has geom label with equal size. E.g. gpt and gptid have the same size as partition, diskid has the same size as entire disk. When gmirror's geom has been destroyed, glabel creates its providers and this initiate retaste. Now "gmirror destroy" command is available. It destroys geom and also erases gmirror's metadata. MFC after: 2 weeks
* | | | | | | | Add "resize" verb to gmirror(8) and such functionality to geom_mirror(4).ae2013-11-192-1/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now it is easy to expand the size of the mirror when all its components are replaced. Also add g_resize method to geom_mirror class. It will write updated metadata to new last sector, when parent provider is resized. Silence from: geom@ MFC after: 1 month
* | | | | | | | sbin/geom/class/part/geom_part.casomers2013-10-231-3/+31
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always validate the return of find_geomcfg(). It could be NULL, for example when the geom is withering. Approved by: ken (mentor) Sponsored by: Spectra Logic Corporation MFC after: 3 weeks
* | | | | | | Sweep man pages replacing ad -> ada.pluknet2013-10-013-13/+13
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only
* | | | | | Note NULL encryption method for GELIcrees2013-08-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: docs/180551 Submitted by: r4721@tormail.org Approved by: gjb (mentor)
* | | | | | Add a new gptboot(8) man page. Factor out the redundant informationwblock2013-07-011-65/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in gpart(8) and boot(8), adding references to gptboot(8) in both. Reviewed by: jhb, ae, pjd, Paul Schenkeveld <bsdcan@psconsult.nl>, david_a_bright@dell.com (portions), gjb MFC after: 1 week
* | | | | | Change the set and unset ctlreqs by making the index argument optional.marcel2013-06-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows setting attributes on tables. One simply does not provide an index in that case. Otherwise the entry corresponding the index has the attribute set or unset. Use this change to fix a relatively longstanding bug in our GPT scheme that's the result of rev 198097 (relatively harmless) followed by rev 237057 (damaging). The damaging part being that our GPT scheme always has the active flag set on the PMBR slice. This is in violation with EFI. Existing EFI implementions for both x86 and ia64 reject the GPT. As such, GPT disks created by us aren't usable under EFI because of that. After this change, GPT disks never have the active flag set on the PMBR slice. In order to make the GPT disk bootable under some x86 BIOSes, the reason of rev 198097, one must now set the active attribute on the gpt table. The kernel will apply this to the PMBR slice For (S)ATA: gpart set -a active ada0 To fix an existing GPT disk that has the active flag set in the PMBR, and that does not need the flag, use (again for (S)ATA): gpart unset -a active ada0 The EBR, MBR & PC98 schemes, which also impement at least 1 attribute, now check to make sure the entry passed is valid. They do not have attributes that apply to the table.
* | | | | | Minor clarificiation.joel2013-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PR: 177455
* | | | | | Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* | | | | | update information about debugging sysctl...jmg2013-04-141-3/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | MFC after: 1 week
* | | | | Remove kernel options from the SYNOPSIS. They are already documented in thejoel2013-04-111-27/+0
| | | | | | | | | | | | | | | | | | | | geom(4) manual page SYNOPSIS.
* | | | | Minor rewording.joel2013-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | Discussed with: mav
* | | | | Remove references to ataraid(4) and atacontrol(8).joel2013-04-042-5/+1
| | | | |
* | | | | o Typo: IEE -> IEEE.maxim2013-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: docs/173069 Submitted by: Bjorn Heidotting MFC after: 1 week
* | | | | Reduce stack usage.pjd2013-03-181-3/+5
| | | | |
* | | | | Cross-reference gvinum(8) instead of vinum(8).joel2013-03-164-7/+7
| | | | |
* | | | | Add legacy support to geom raid to create a /dev/arX device for supportsbruno2013-03-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of upgrading older machines using ataraid(4) to newer releases. This optional parameter is controlled via kern.geom.raid.legacy_aliases and will create a /dev/ar0 device that will point at /dev/raid/r0 for example. Tested on Dell SC 1425 DDF-1 format software raid controllers installing from stable/7 and upgrading to stable/9 without having to adjust /etc/fstab Reviewed by: mav Obtained from: Yahoo! MFC after: 2 Weeks
* | | | | Fix typo in EFI GPT GUID.benno2013-02-271-1/+1
| | | | |
* | | | | Fix minor memory leak.pjd2013-02-101-0/+1
| | | | |
* | | | | Assert that if we are not dealing with keyfile we are dealing with passfile.pjd2013-02-101-0/+2
| | | | |
* | | | | Use arc4random_buf(3) instead of reimplementing it.pjd2013-02-101-21/+5
| |_|_|/ |/| | |
* | | | Expand description of how gptboot and gptzfsboot choose a partition forwblock2013-01-251-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | booting. Reviewed by: ae MFC after: 1 week
* | | | For Promise/AMD metadata add support for disks with capacity above 2TiBmav2013-01-171-2/+1
| | | | | | | | | | | | | | | | and for volumes with sector size above 512 bytes.
* | | | Allow to insert new component to geom_raid3 without specifying number.mav2013-01-152-3/+5
| | | | | | | | | | | | | | | | | | | | PR: kern/160562 MFC after: 2 weeks
* | | | Use tabs for indentation.kib2013-01-051-5/+5
| | | | | | | | | | | | | | | | MFC after: 2 weeks
OpenPOWER on IntegriCloud