Changeset View
Changeset View
Standalone View
Standalone View
lib/geom/part/gpart.8
Show First 20 Lines • Show All 306 Lines • ▼ Show 20 Lines | |||||
Delete a partition from geom | Delete a partition from geom | ||||
.Ar geom | .Ar geom | ||||
and further identified by the | and further identified by the | ||||
.Fl i Ar index | .Fl i Ar index | ||||
option. | option. | ||||
The partition cannot be actively used by the kernel. | The partition cannot be actively used by the kernel. | ||||
.Pp | .Pp | ||||
The | The | ||||
.cm delete | .Cm delete | ||||
command accepts these options: | command accepts these options: | ||||
.Bl -tag -width 10n | .Bl -tag -width 10n | ||||
.It Fl f Ar flags | .It Fl f Ar flags | ||||
Additional operational flags. | Additional operational flags. | ||||
See the section entitled | See the section entitled | ||||
.Sx "OPERATIONAL FLAGS" | .Sx "OPERATIONAL FLAGS" | ||||
below for a discussion | below for a discussion | ||||
about its use. | about its use. | ||||
▲ Show 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | |||||
option adds support for the Extended Boot Record (EBR), | option adds support for the Extended Boot Record (EBR), | ||||
which is used to define a logical partition. | which is used to define a logical partition. | ||||
The | The | ||||
.Cm GEOM_PART_EBR_COMPAT | .Cm GEOM_PART_EBR_COMPAT | ||||
option enables backward compatibility for partition names | option enables backward compatibility for partition names | ||||
in the EBR scheme. | in the EBR scheme. | ||||
It also prevents any type of actions on such partitions. | It also prevents any type of actions on such partitions. | ||||
.It Cm VTOC8 | .It Cm VTOC8 | ||||
Sun's SMI Volume Table Of Contents, used by | Sun's SMI Volume Table Of Contents, used by SPARC64 and UltraSPARC | ||||
.Tn SPARC64 | |||||
and | |||||
.Tn UltraSPARC | |||||
cem: What's the motivation for this change? It doesn't seem related and I'm not sure it's correct. | |||||
Done Inline ActionsThis was an output from mandoc -Tlint, .Tn is defunct and should not be used. If these are to be kept, I can keep them. otis: This was an output from mandoc -Tlint, .Tn is defunct and should not be used. If these are to… | |||||
computers. | computers. | ||||
Requires the | Requires the | ||||
.Cm GEOM_PART_VTOC8 | .Cm GEOM_PART_VTOC8 | ||||
kernel option. | kernel option. | ||||
.El | .El | ||||
.Sh PARTITION TYPES | .Sh PARTITION TYPES | ||||
Partition types are identified on disk by particular strings or magic | Partition types are identified on disk by particular strings or magic | ||||
values. | values. | ||||
▲ Show 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | |||||
An Apple Mac OS X partition that contains a UFS filesystem. | An Apple Mac OS X partition that contains a UFS filesystem. | ||||
The scheme-specific types are | The scheme-specific types are | ||||
.Qq Li "!168" | .Qq Li "!168" | ||||
for MBR, | for MBR, | ||||
.Qq Li "!Apple_UNIX_SVR2" | .Qq Li "!Apple_UNIX_SVR2" | ||||
for APM and | for APM and | ||||
.Qq Li "!55465300-0000-11aa-aa11-00306543ecac" | .Qq Li "!55465300-0000-11aa-aa11-00306543ecac" | ||||
for GPT. | for GPT. | ||||
.It Cm apple-zfs | |||||
An Apple Mac OS X parition that contains a ZFS volume. | |||||
rpokalaUnsubmitted Done Inline Actionss/parition/partition/ rpokala: s/parition/partition/ | |||||
The scheme-specific type is | |||||
.Qq Li "!6a898cc3-1dd2-11b2-99a6-080020736631" | |||||
for GPT. The same GUID is being used also for | |||||
.Sy illumos/Solaris /usr partition . | |||||
See | |||||
.Sx NOTES | |||||
section below. | |||||
.It Cm dragonfly-label32 | .It Cm dragonfly-label32 | ||||
A DragonFlyBSD partition subdivided into filesystems with a | A DragonFlyBSD partition subdivided into filesystems with a | ||||
.Bx | .Bx | ||||
disklabel. | disklabel. | ||||
The scheme-specific type is | The scheme-specific type is | ||||
.Qq Li "!9d087404-1ca5-11dc-8817-01301bb8a9f5" | .Qq Li "!9d087404-1ca5-11dc-8817-01301bb8a9f5" | ||||
for GPT. | for GPT. | ||||
.It Cm dragonfly-label64 | .It Cm dragonfly-label64 | ||||
▲ Show 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | |||||
.Qq Li "!7" | .Qq Li "!7" | ||||
for MBR. | for MBR. | ||||
.It Cm prep-boot | .It Cm prep-boot | ||||
The system partition dedicated to storing boot loaders on some PowerPC systems, | The system partition dedicated to storing boot loaders on some PowerPC systems, | ||||
notably those made by IBM. | notably those made by IBM. | ||||
The scheme-specific types are | The scheme-specific types are | ||||
.Qq Li "!65" | .Qq Li "!65" | ||||
for MBR and | for MBR and | ||||
.Qq Li "!0x9e1a2d38-c612-4316-aa26-8b49521e5a8b" | .Qq Li "!9e1a2d38-c612-4316-aa26-8b49521e5a8b" | ||||
for GPT. | for GPT. | ||||
.It Cm solaris-boot | |||||
A illumos/Solaris partition dedicated to boot loader. | |||||
The scheme-specific type is | |||||
.Qq Li "!6a82cb45-1dd2-11b2-99a6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-root | |||||
A illumos/Solaris partition dedicated to root filesystem. | |||||
The scheme-specific type is | |||||
.Qq Li "!6A85CF4D-1DD2-11B2-99A6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-swap | |||||
A illumos/Solaris partition dedicated to swap. | |||||
The scheme-specific type is | |||||
.Qq Li "!6A87C46F-1DD2-11B2-99A6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-backup | |||||
A illumos/Solaris partition dedicated to backup. | |||||
The scheme-specific type is | |||||
.Qq Li "!6A8B642B-1DD2-11B2-99A6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-var | |||||
A illumos/Solaris partition dedicated to /var filesystem. | |||||
The scheme-specific type is | |||||
.Qq Li "!6A8EF2E9-1DD2-11B2-99A6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-home | |||||
A illumos/Solaris partition dedicated to /home filesystem. | |||||
The scheme-specific type is | |||||
.Qq Li "!6A90BA39-1DD2-11B2-99A6-080020736631" | |||||
for GPT. | |||||
Not Done Inline ActionsThese UUIDs are uppercase hex, but the rest are lowercase cem: These UUIDs are uppercase hex, but the rest are lowercase | |||||
Done Inline ActionsThanks for pointing at this, it was a result of copy&paste. otis: Thanks for pointing at this, it was a result of copy&paste. | |||||
.It Cm solaris-altsec | |||||
A illumos/Solaris partition dedicated to alternate sector. | |||||
The scheme-specific type is | |||||
.Qq Li "!6a9283a5-1dd2-11b2-99a6-080020736631" | |||||
for GPT. | |||||
.It Cm solaris-reserved | |||||
A illumos/Solaris partition dedicated to reserved space. | |||||
The scheme-specific type is | |||||
.Qq Li "!6a945a3b-1dd2-11b2-99a6-080020736631" | |||||
for GPT. | |||||
.It Cm vmware-vmfs | .It Cm vmware-vmfs | ||||
A partition that contains a VMware File System (VMFS). | A partition that contains a VMware File System (VMFS). | ||||
The scheme-specific types are | The scheme-specific types are | ||||
.Qq Li "!251" | .Qq Li "!251" | ||||
for MBR and | for MBR and | ||||
.Qq Li "!aa31e02a-400f-11db-9590-000c2911d1b8" | .Qq Li "!aa31e02a-400f-11db-9590-000c2911d1b8" | ||||
for GPT. | for GPT. | ||||
.It Cm vmware-vmkdiag | .It Cm vmware-vmkdiag | ||||
▲ Show 20 Lines • Show All 516 Lines • ▼ Show 20 Lines | |||||
.Pa ada0 | .Pa ada0 | ||||
to | to | ||||
.Pa ada1 | .Pa ada1 | ||||
and | and | ||||
.Pa ada2 : | .Pa ada2 : | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
/sbin/gpart backup ada0 | /sbin/gpart restore -F ada1 ada2 | /sbin/gpart backup ada0 | /sbin/gpart restore -F ada1 ada2 | ||||
.Ed | .Ed | ||||
.Sh NOTES | |||||
Not Done Inline ActionsThis is a non-canonical section name/placement. Perhaps this would be a good fit for .Sh CAVEATS, which goes after .Sh AUTHORS? cem: This is a non-canonical section name/placement. Perhaps this would be a good fit for `.Sh… | |||||
Done Inline ActionsMoved. I take all advises on this. otis: Moved. I take all advises on this. | |||||
Partition type | |||||
.Em apple-zfs | |||||
.No (6a898cc3-1dd2-11b2-99a6-080020736631) is also being used | |||||
Not Done Inline ActionsWhy do you need .No here? I think it can be dropped. cem: Why do you need `.No` here? I think it can be dropped. | |||||
Done Inline ActionsRemoved. otis: Removed. | |||||
on illumos/Solaris platforms for ZFS volumes. | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr geom 4 , | .Xr geom 4 , | ||||
.Xr boot0cfg 8 , | .Xr boot0cfg 8 , | ||||
.Xr geom 8 , | .Xr geom 8 , | ||||
.Xr gptboot 8 | .Xr gptboot 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
utility appeared in | utility appeared in | ||||
.Fx 7.0 . | .Fx 7.0 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
.An Marcel Moolenaar Aq Mt marcel@FreeBSD.org | .An Marcel Moolenaar Aq Mt marcel@FreeBSD.org |
What's the motivation for this change? It doesn't seem related and I'm not sure it's correct.