Date: Thu, 24 Aug 2000 10:54:45 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/i386/fdisk fdisk.c Message-ID: <200008241754.KAA12997@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008241754.KAA12997>
