From owner-cvs-src@FreeBSD.ORG Sun Feb 26 07:37:11 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C0416A420; Sun, 26 Feb 2006 07:37:11 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4683743D45; Sun, 26 Feb 2006 07:37:11 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1Q7bBvM076421; Sun, 26 Feb 2006 07:37:11 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1Q7bBWt076420; Sun, 26 Feb 2006 07:37:11 GMT (envelope-from imp) Message-Id: <200602260737.k1Q7bBWt076420@repoman.freebsd.org> From: Warner Losh Date: Sun, 26 Feb 2006 07:37:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/fdisk_pc98 fdisk.8 fdisk.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 07:37:11 -0000 imp 2006-02-26 07:37:10 UTC FreeBSD src repository Modified files: sbin/fdisk_pc98 fdisk.8 fdisk.c Log: 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.. Revision Changes Path 1.16 +7 -1 src/sbin/fdisk_pc98/fdisk.8 1.20 +55 -11 src/sbin/fdisk_pc98/fdisk.c