summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-06-06 05:14:16 +0000
committermarcel <marcel@FreeBSD.org>2008-06-06 05:14:16 +0000
commitdd14f4af05e3464783370bc5d4728e4c0c3fb6dd (patch)
tree7d8946015983177c737034ec3498de3bc2f6145a /sbin/geom
parent980aab4117e2fd09104b8e98b0e1c1d7f2e6a632 (diff)
downloadFreeBSD-src-dd14f4af05e3464783370bc5d4728e4c0c3fb6dd.zip
FreeBSD-src-dd14f4af05e3464783370bc5d4728e4c0c3fb6dd.tar.gz
Update the manpage to reflect reality:
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.
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/part/gpart.835
1 files changed, 32 insertions, 3 deletions
diff --git a/sbin/geom/class/part/gpart.8 b/sbin/geom/class/part/gpart.8
index 1f664ca..d0c4297 100644
--- a/sbin/geom/class/part/gpart.8
+++ b/sbin/geom/class/part/gpart.8
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2007 Marcel Moolenaar
+.\" Copyright (c) 2007, 2008 Marcel Moolenaar
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd Oct 20, 2007
+.Dd Jun 5, 2008
.Dt GPART 8
.Os
.Sh NAME
@@ -36,16 +36,24 @@ place one or more of the following
lines in your kernel configuration file:
.Bd -ragged -offset indent
.Cd "options GEOM_PART_APM"
+.Cd "options GEOM_PART_BSD"
.Cd "options GEOM_PART_GPT"
.Cd "options GEOM_PART_MBR"
+.Cd "options GEOM_PART_PC98"
+.Cd "options GEOM_PART_VTOC8"
.Ed
.Pp
The GEOM_PART_APM option adds support for the Apple Partition Map (APM)
found on Apple Macintosh computers.
+The GEOM_PART_BSD option adds support for the traditional BSD disklabel.
The GEOM_PART_GPT option adds support for the GUID Partition Table (GPT)
found on Intel Itanium computers and Intel-based Macintosh computers.
The GEOM_PART_MBR option adds support for the Master Boot Record (MBR)
found on PCs and used on many removable media.
+The GEOM_PART_PC98 option adds support for the MBR variant as used on
+NEC PC-98 computers.
+The GEOM_PART_VTOC8 option adds support for Sun's SMI VTOC8 label as
+found on UltraSPARC-based computers.
.Pp
Usage of the
.Xr gpart 8
@@ -61,6 +69,12 @@ utility:
.Op Fl l Ar label
.Op Fl f Ar flags
.Ar geom
+.\" ==== BOOTCODE ====
+.Nm
+.Cm bootcode
+.Fl b Ar bootcode
+.Op Fl f Ar flags
+.Ar geom
.\" ==== COMMIT ====
.Nm
.Cm commit
@@ -122,7 +136,7 @@ option.
Partition types are discussed in the section entitled "Partition Types".
.Pp
Addition options include:
-.Bl -tag -width ".Fl w Ar wwwwwww"
+.Bl -tag -width ".Fl w Ar wwwwwwww"
.It Fl i Ar index
The index in the partition table at which the new partition is to be
placed. The index determines the name of the device special file used
@@ -136,6 +150,21 @@ Additional operational flags.
See the section entitled "Operational flags" below for a discussion
about its use.
.El
+.\" ==== BOOTCODE ====
+.It Cm bootcode
+Install bootstrap code into the partitioning scheme's metadata on
+.Ar geom .
+Not all partitioning schemes have bootstrap code, so this command
+is scheme-specific in nature.
+For the GPT scheme, bootstrap code is supported but it is the boostrap
+code that's installed in the protective MBR.
+The
+.Fl b Ar bootcode
+option specifies a file that contains the bootstrap code.
+The contents and size of the file are determined by the partitioning
+scheme.
+For the MBR scheme, it's a 512 byte file of which the first 446 bytes
+are installed as bootstrap code.
.\" ==== COMMIT ====
.It Cm commit
Commit any pending changes for geom
OpenPOWER on IntegriCloud