Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 1996 22:01:41 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@FreeBSD.ORG, j@uriah.heep.sax.de
Subject:   Re: HELP!!! THIS IS AN EMERGENCY (fwd)
Message-ID:  <199601031101.WAA02175@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>BSD does not have a 500 MB limit.  It can speak whatever the hardware
>allows for, this is c<=65535, h<=15, s<=255.  For disks that are used

	0 <= c <= 65535, 0 <= h >= 15, 1 <= s <= 255

>in a BIOS environment as well, the `s' limit is 63 however.  This

and the `c' limit is 1023

>would still account for 65536*16*31 = 32505856 blocks, or 15872 MB.

	1024 * 16 * 63 = 1032192 blocks = 504 MB (1MB = 1024K)

For IDE in c/h/s mode, the limit is

	65536 * 16 * 255 = 267386880 blocks = 130560 MB

For ATA/2 in LBA mode, the limit is

	2^28 = 268435456 blocks = 131072 MB

For SCSI, the BIOS limit should be 1024*256*63, but some some BIOSes
have a limit of 255 heads, so the limit is

	1024 * 255 * 63 = 16450560 blocks = 8032 MB

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601031101.WAA02175>