summaryrefslogtreecommitdiffstats
path: root/sbin/i386/fdisk/fdisk.8
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-23 11:06:19 +0000
committerphk <phk@FreeBSD.org>1999-08-23 11:06:19 +0000
commit78878d252b00788633116c38cf72f06d46d85558 (patch)
treec68ae4a59e78fda351e334291a970b539b0957ec /sbin/i386/fdisk/fdisk.8
parent41ff5573aff581d688470feeb852e94e55141dfd (diff)
downloadFreeBSD-src-78878d252b00788633116c38cf72f06d46d85558.zip
FreeBSD-src-78878d252b00788633116c38cf72f06d46d85558.tar.gz
Add new option to fdisk: -e
This wipes the MBR and creates slice 1 as a FreeBSD slice covering the disk starting from the second track to the cylinder aligned end of the disk. This is the most compatibly layout we have as far as I know.
Diffstat (limited to 'sbin/i386/fdisk/fdisk.8')
-rw-r--r--sbin/i386/fdisk/fdisk.816
1 files changed, 9 insertions, 7 deletions
diff --git a/sbin/i386/fdisk/fdisk.8 b/sbin/i386/fdisk/fdisk.8
index b6e0748..f5a44b0 100644
--- a/sbin/i386/fdisk/fdisk.8
+++ b/sbin/i386/fdisk/fdisk.8
@@ -1,4 +1,4 @@
-.\" $Id: $
+.\" $Id: fdisk.8,v 1.14 1999/06/27 19:29:14 rnordier Exp $
.\"
.Dd October 4, 1996
.Dt FDISK 8
@@ -8,7 +8,7 @@
.Nd PC partition table maintenance program
.Sh SYNOPSIS
.Nm fdisk
-.Op Fl Baitu
+.Op Fl Baeitu
.Op Fl b Ar bootcode
.Op Fl 1234
.Op Ar disk
@@ -50,11 +50,6 @@ table. The second is used to write a partition table using a
and is designed to be used by other scripts/programs.
.Pp
Options are:
-.It Fl B
-Reinitialize the boot code contained in sector 0 of the disk. Ignored
-if
-.Fl f
-is given.
.It Fl a
Change the active partition only. Ignored if
.Fl f
@@ -62,6 +57,13 @@ is given.
.It Fl b Ar bootcode
Get the boot code from the file
.Ar bootcode .
+.It Fl B
+Reinitialize the boot code contained in sector 0 of the disk. Ignored
+if
+.Fl f
+is given.
+.It Fl e
+Initialize the contents of sector 0 with one FreeBSD slice covering the entire disk.
.It Fl f Ar configfile
Set partition values using the file
.Ar configfile .
OpenPOWER on IntegriCloud