|
Lines 24-30
Link Here
|
| 24 |
.\" |
24 |
.\" |
| 25 |
.\" $FreeBSD$ |
25 |
.\" $FreeBSD$ |
| 26 |
.\" |
26 |
.\" |
| 27 |
.Dd March 19, 2012 |
27 |
.Dd December 10, 2012 |
| 28 |
.Dt GPART 8 |
28 |
.Dt GPART 8 |
| 29 |
.Os |
29 |
.Os |
| 30 |
.Sh NAME |
30 |
.Sh NAME |
|
Lines 455-460
Link Here
|
| 455 |
.It Cm show |
455 |
.It Cm show |
| 456 |
Show the current partition information of the specified geoms |
456 |
Show the current partition information of the specified geoms |
| 457 |
or all geoms if none are specified. |
457 |
or all geoms if none are specified. |
|
|
458 |
The default output includes the logical starting block of each |
| 459 |
partition, the partition size in blocks, the partition index number, |
| 460 |
the partition type, and a human readable partition size. |
| 461 |
Block sizes and locations are based on 512-byte logical blocks. |
| 458 |
Additional options include: |
462 |
Additional options include: |
| 459 |
.Bl -tag -width 10n |
463 |
.Bl -tag -width 10n |
| 460 |
.It Fl l |
464 |
.It Fl l |
|
Lines 979-992
Link Here
|
| 979 |
Exit status is 0 on success, and 1 if the command fails. |
983 |
Exit status is 0 on success, and 1 if the command fails. |
| 980 |
.Sh EXAMPLES |
984 |
.Sh EXAMPLES |
| 981 |
Create a GPT scheme on |
985 |
Create a GPT scheme on |
| 982 |
.Pa ad0 : |
986 |
.Pa ada0 : |
| 983 |
.Bd -literal -offset indent |
987 |
.Bd -literal -offset indent |
| 984 |
/sbin/gpart create -s GPT ad0 |
988 |
/sbin/gpart create -s GPT ada0 |
| 985 |
.Ed |
989 |
.Ed |
| 986 |
.Pp |
990 |
.Pp |
| 987 |
Embed GPT bootstrap code into a protective MBR: |
991 |
Embed GPT bootstrap code into a protective MBR: |
| 988 |
.Bd -literal -offset indent |
992 |
.Bd -literal -offset indent |
| 989 |
/sbin/gpart bootcode -b /boot/pmbr ad0 |
993 |
/sbin/gpart bootcode -b /boot/pmbr ada0 |
| 990 |
.Ed |
994 |
.Ed |
| 991 |
.Pp |
995 |
.Pp |
| 992 |
Create a dedicated |
996 |
Create a dedicated |
|
Lines 1011-1025
Link Here
|
| 1011 |
offset or alignment. |
1015 |
offset or alignment. |
| 1012 |
The boot partition itself is aligned on a 4 kB boundary. |
1016 |
The boot partition itself is aligned on a 4 kB boundary. |
| 1013 |
.Bd -literal -offset indent |
1017 |
.Bd -literal -offset indent |
| 1014 |
/sbin/gpart add -b 40 -s 88 -t freebsd-boot ad0 |
1018 |
/sbin/gpart add -b 40 -s 88 -t freebsd-boot ada0 |
| 1015 |
/sbin/gpart bootcode -p /boot/gptboot -i 1 ad0 |
1019 |
/sbin/gpart bootcode -p /boot/gptboot -i 1 ada0 |
| 1016 |
.Ed |
1020 |
.Ed |
| 1017 |
.Pp |
1021 |
.Pp |
| 1018 |
Create a 512MB-sized |
1022 |
Create a 512MB-sized |
| 1019 |
.Cm freebsd-ufs |
1023 |
.Cm freebsd-ufs |
| 1020 |
partition to contain a UFS filesystem from which the system can boot. |
1024 |
partition to contain a UFS filesystem from which the system can boot. |
| 1021 |
.Bd -literal -offset indent |
1025 |
.Bd -literal -offset indent |
| 1022 |
/sbin/gpart add -s 512M -t freebsd-ufs ad0 |
1026 |
/sbin/gpart add -s 512M -t freebsd-ufs ada0 |
| 1023 |
.Ed |
1027 |
.Ed |
| 1024 |
.Pp |
1028 |
.Pp |
| 1025 |
Create an MBR scheme on |
1029 |
Create an MBR scheme on |