[net.unix-wizards] Some questions on disk sizes in hp.c under 4.1bsd

eric (03/25/83)

Following is the rm5 sizes table from hp.c:
}, rm5_sizes[8] = {
	15884,	0,		/* A=cyl 0 thru 26 */
	33440,	27,		/* B=cyl 27 thru 81 */
	500384,	0,		/* C=cyl 0 thru 822 */
	15884,	562,		/* D=cyl 562 thru 588 */
	55936,	589,		/* E=cyl 589 thru 680 */
#ifndef NOBADSECT
	86240,	681,		/* F=cyl 681 thru 822 */
	158592,	562,		/* G=cyl 562 thru 822 */
#else
	86636,	681,
	158688,	562,
#endif
	291346,	82,		/* H=cyl 82 thru 561 */

My questions are as follows:
1.  Is the reason the size of the A filesystem for distribution compatibility
	instead of being 16,416?
2.  Why is D file system 15884 instead of 15884?
3.  Why is F (if NOBADSECT defined) 86636 instead of 86336?
4.  Why is H 291346 instead of 291840?
5.  Why is (if NOBADSECT not defined) is it 96 less than those with
	NOBADSECT defined? (i.e. man 8 bad144 seems to indicate you
	can have up to 126 replacement blocks + 5 sectors of bad
	block information?

In closing, it seems some of the other sizes in hp.c could be bad also
(rm80 and rp07).  Thanks for listening and any responses.
			Eric Engquist
			ucbvax!lbl-csam!lanl-a!unm-ivax!eric