Date: Sat, 2 Nov 2002 17:37:08 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk disk.c Message-ID: <200211030137.gA31b8mJ097733@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/11/02 17:37:08 PST Modified files: lib/libdisk disk.c Log: Initialize d->bios_cyl. We know the media size in sectors, the number of heads end the number of sectors per track. If there's an obvious insanity (heads and sectors are both zero or the media size is not an integral multiple of heads times sector) we set the number of cylinders to zero. Revision Changes Path 1.102 +10 -4 src/lib/libdisk/disk.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?200211030137.gA31b8mJ097733>