path: root/lib/geom/part/gpart.8
Commit message (Collapse)AuthorAgeFilesLines
* Minor grammar nitAndreas Bjornestad2021-03-031-3/+3
| | | | PR: docs/253975
* gpart(8): Recognize apple-zfs and solaris-reserved partition idsConrad Meyer2020-08-171-3/+57
| | | | | | | | | | | | | Introduce G_PART_ALIAS_SOLARIS_RESERVED, GPT_ENT_TYPE_SOLARIS_RESERVED et al., to make gpart show output more convenient on systems with illumos/openindiana disks visible. Submitted by: Juraj Lutter <otis AT sk.FreeBSD.org> Reviewed by: bcr(manpages), delphij, myself Differential Revision: https://reviews.freebsd.org/D26012 Notes: svn path=/head/; revision=364316
* Revert r362466Baptiste Daroussin2020-06-221-4/+4
| | | | | | | | | Such change should not have happen without prior discussion and review. With hat: transitioning core Notes: svn path=/head/; revision=362488
* Improve wording to be more precise and clear.Hans Petter Selasky2020-06-211-4/+4
| | | | | | | | | | | | No functional change intended. s/Master Boot/Main Boot/ (also called MBR) MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=362466
* Add some missing articles.David Malone2020-01-281-6/+6
| | | | | | | | | | Use .Nm to format the utility name. Get the name of the GEOM class right. MFC after: 2 weeks Notes: svn path=/head/; revision=357204
* gpart(8): ms-basic-data is used for exFAT on GPTConrad Meyer2019-12-241-1/+2
| | | | | | | | | | | | | | Be explicit about it; the first mention of exFAT is for the MBR type 'ntfs', and the reader must work back from there to the GPT type and infer that a reference to MBR ntfs type means ms-basic-data is canonical for exFAT. (It'd also be great if gpart had convenient aliases that did the right thing for the partition scheme, such as 'ntfs' => ms-basic-data on GPT schemes or 'exfat' => 'ntfs' in MBR schemes. The tool is also bad about providing user-meaningful reasons for EINVAL failures.) Notes: svn path=/head/; revision=356048
* Add kern.geom.part.separator tunable. This makes it possibleEdward Tomasz Napierala2019-12-131-1/+9
| | | | | | | | | | | | | | | to specify an optional separator to insert before partition name; eg if it's set to "c/", you'll get "ada0c/s1" instead of "ada0s1". (It cannot be set to just “/“, since ada0 is a device node, not a directory.) Reviewed by: imp MFC after: 2 weeks Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D22193 Notes: svn path=/head/; revision=355705
* Fix grammar in gpart.8.Mark Johnston2019-11-181-1/+1
| | | | | | | | PR: 241973 MFC after: 3 days Notes: svn path=/head/; revision=354824
* Allow more nesting of GEOM partitioning schemesKyle Evans2019-09-031-2/+11
| | | | | | | | | | | | | | | | | | GEOM is supposed to be topology-agnostic, but the GPT and BSD partition code has arbitrary restrictions on nesting that are annoying in cases such as running VMs on raw partitions (since the VM's partitioning scheme is not visible to the host). This patch adds sysctls to disable the restrictions except in the case of BSD label (and similar) partitions with offset 0 (where we need to avoid recursively recognizing the label). Submitted by: Andrew Gierth MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21350 Notes: svn path=/head/; revision=351797
* Add a “skip_dsn” option to g_part's bootcode verb to prevent g_part_mbrDag-Erling Smørgrav2018-11-271-0/+9
| | | | | | | | | | | | | from setting the volume serial number. This unbreaks older boot blocks that don't support serial numbers, and allows boot0cfg to set the serial number itself if requested by the user. Submitted by: lev@, yuripv@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D17386 Notes: svn path=/head/; revision=341067
* Remove three stray instances of zfsloader.Warner Losh2018-07-201-2/+2
| | | | Notes: svn path=/head/; revision=336536
* Normalize the g(eom,cache,part,...) build.Brooks Davis2018-06-251-0/+1441
Rather then combining hardlink creation for the geom(8) binary with shared library build, move libraries to src/lib/geom so they are built and installed normally. Create a common Makefile.classes which is included by both lib/geom/Makefile and sbin/geom/Makefile so the symlink and libraries stay in sync. The relocation of libraries allows libraries to be build for 32-bit compat. This also reduces the number of non-standard builds in the system. This commit is not sufficent to run a 32-bit /sbin/geom on a 64-bit system out of the box as it will look in the wrong place for libraries unless GEOM_LIBRARY_PATH is set appropriatly in the environment. Reviewed by: bdrewery Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15360 Notes: svn path=/head/; revision=335645