From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Haertel Message-Id: <200205260601.g4Q61AtV093336@ducky.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] bug in disk/format In-Reply-To: <124619951e4fdbe0e6a2ba1dde590b2e@plan9.bell-labs.com> Date: Sat, 25 May 2002 23:01:10 -0700 Topicbox-Message-UUID: 9ca1e928-eaca-11e9-9e20-41e7f4b1d025 >> By the way, in your attempt to reproduce this problem did you use >> a system with a SCSI disk? Note that the behavior of opendisk() > >No, just a zeroed file appropriately sized. >I don't think format actually cares about >the geometry. I don't have any SCSI disks handy. Format *does* care about the geometry. If it puts the wrong values into the boot sector, the boot sector /386/pbs won't work, because the function BIOSread needs to know the geometry in order to convert linear offsets to the C/H/S addressing used in Int 10 BIOS calls. (I use /386/pbslba on my SCSI disk to avoid this problem.) >> is different for IDE vs. SCSI disks, particularly how it guesses >> the disk geometry. In the past I submitted a bugfix to disk.c that >> would greatly increase the likelihood of SCSI geometry being correctly >> guessed, and I see my patch was ignored... > >More likely just missed. Where is this patch? https://lists.cse.psu.edu/archives/9fans/2000-October/008039.html Two messages later (in .../008042.html) you replied with "Thanks for the fix". Therefore I stand by "was ignored" or perhaps even "was brutally discarded" :-)