On Jun 15, 2009, at 9:42 AM, Ulf Lilleengen wrote:


+    if (disk->bios_hd > 256)
       sane = 0;


The number of heads cannot exceed 255. There are only 8-bits
in which the number of heads is stored. This also applies to
PC98, BTW.

Aha, so I should fix fdisk too then. Thanks.

If you like... :-)

--
Marcel Moolenaar
xcl...@mac.com



_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to