[comp.os.minix] 17 vs. 25 sectors per track

flong@sdsu.UUCP (Fred J. E. Long) (06/04/89)

Is there a good reason why fsck.c and xt_wini.c both use 17 as the
number of sectors per track on a hard disk?  Is it too much of a hassle
to find out the exact number (like BIOS does)?

As is, the normal kernel works well enough for me to copy the sources
to my first MINIX partition, recompile for 25 sectors per track, and
build a new kernel.  For some reason trying to mkfs the 2nd partition
with the old kernel does not do much at all (so says Norton
Utilities).  As long as I don't try to fix all the errors that fsck
reports, I can build a correct kernel.

So I have a working kernel now, but the hard-coding of 17 sectors per
track has caused a lot of anguish.  Can real IBM XT's ONLY have hard
disks with 17 sectors per track?  (I'm using a Leading Edge PC with a
31MB hard disk, and ps_wini and at_wini did not work.)

--fjel
-- 
Fred J. E. Long	
San Diego State University, San Diego, California  92093
ARPA: flong%midgard@ucscc.ucsc.edu	
UUCP: ...!ucsd!sdsu!flong