From owner-cvs-all Thu Aug 24 10:54:48 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 65CCA37B422; Thu, 24 Aug 2000 10:54:45 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA12997; Thu, 24 Aug 2000 10:54:45 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200008241754.KAA12997@freefall.freebsd.org> From: John Baldwin Date: Thu, 24 Aug 2000 10:54:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/i386/fdisk fdisk.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/08/24 10:54:45 PDT Modified files: sbin/i386/fdisk fdisk.c Log: - When adjusting the end of a partition to lie on a cylinder boundary, don't adjust the size, but the actual end. - Break out some of the sanity checks on partitions into a sanitize_partition function. - When adjusting partitions, always adjust the start "up", and the end "down" so that we stay within the boundaries of the original request. - Various small nits found by bde. Reported by: bde, imp, rgrimes Revision Changes Path 1.46 +95 -47 src/sbin/i386/fdisk/fdisk.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message