summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk_pc98/fdisk.8
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-02-26 07:37:10 +0000
committerimp <imp@FreeBSD.org>2006-02-26 07:37:10 +0000
commit7dec5978c15992be13c830f1fe18eb0eacd7b2ca (patch)
tree841e8090792ec635fe67bc8f30f9fa1bc7873579 /sbin/fdisk_pc98/fdisk.8
parenta8acef0bfb8502573b7e11703dee9d7b7027497d (diff)
downloadFreeBSD-src-7dec5978c15992be13c830f1fe18eb0eacd7b2ca.zip
FreeBSD-src-7dec5978c15992be13c830f1fe18eb0eacd7b2ca.tar.gz
Fixes and new features:
o Merge the -I switch from i386 verison to initialize the partition table to use the maximum amount possible for a single FreeBSD table. o Improve warning when the geom method fails (which I think it always will until geom_pc98 is updated to respond to this ctl message) o when writing out the boot sector, we have to write out a minimum of 1024 bytes or the sector size. This is different than the i386 case where we need to write out a minimum of 512 bytes (which is also the minimum sector size). We already handle this difference on reading, but didn't in writing, so attempting to write a new partition table would fail. o Add MID to the -s output, since pc98 users are likely interested in both of these parameters. # I can now initialize disks on my pc98 machine either by -I or by # manually entering the parameters. I don't know if fdisk -B works or not, # since I'm not willing to risk my only working boot disk to test it..
Diffstat (limited to 'sbin/fdisk_pc98/fdisk.8')
-rw-r--r--sbin/fdisk_pc98/fdisk.88
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/fdisk_pc98/fdisk.8 b/sbin/fdisk_pc98/fdisk.8
index c4b25c7..24b62ee 100644
--- a/sbin/fdisk_pc98/fdisk.8
+++ b/sbin/fdisk_pc98/fdisk.8
@@ -9,7 +9,7 @@
.Sh SYNOPSIS
.Nm
.\" !PC98 .Op Fl BIaistu
-.Op Fl Bastu
+.Op Fl BIastu
.Op Fl b Ar bootcode
.Op Fl 1234
.Op Ar disk
@@ -67,6 +67,12 @@ Ignored
if
.Fl f
is given.
+.It Fl I
+Initialize the partition table. One
+.Fx
+slice covering the entire disk will be created.
+Some space at the start of the disk will reserved for the IPL program
+and the pc98 partition table itself.
.It Fl f Ar configfile
Set partition values using the file
.Ar configfile .
OpenPOWER on IntegriCloud