From owner-cvs-all Fri Jan 28 18:41:34 2000 Delivered-To: cvs-all@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id C47C215B22; Fri, 28 Jan 2000 18:41:26 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id NAA13083; Sat, 29 Jan 2000 13:11:38 +1030 (CST) Date: Sat, 29 Jan 2000 13:11:37 +1030 From: Greg Lehey To: Bruce Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/isa wd.c src/sys/kern subr_diskmbr.c Message-ID: <20000129131137.Y583@freebie.lemis.com> References: <200001281022.CAA57957@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200001281022.CAA57957@freefall.freebsd.org> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Friday, 28 January 2000 at 2:22:09 -0800, Bruce Evans wrote: > bde 2000/01/28 02:22:08 PST > > Modified files: > sys/i386/isa wd.c > sys/kern subr_diskmbr.c > Log: > Don't permit generation of non-physical disk addresses. > > subr_diskmbr.c: > Don't "helpfully" enlarge our idea of the disk size to cover all the > primary slices. Instead, truncate or discard slices that don't seem > to be on the disk. The enlargement was a hack for disks that don't > report their size (e.g., MFM disks). It is just wrong in general. > > wd.c: > In CHS mode, limit the disk size so that cylinder numbers >= 65536 > cannot occur. This normally only affects disks larger than 33.8GB. > CHS mode accesses to addresses above the limit are now properly broken > (an error is returned instead of garbage for reads and disk corruption > for writes). > > PR: 15611 Do you intend to close the PR? Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message