On Fri, Oct 20, 2000 at 08:30:43PM +1300, C. Falconer wrote:
> C * H * S * kilobytes per sector
Just what I needed. Cheers.
Sven
--
Powered by Debian GNU/Linux aka "The Rock"
Multiply them together
C * H * S * kilobytes per sector
sector size is normally 512 bytes/sector.
caffeine:~# fdisk /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 1048 cylinders
Units = cylinders of 16065 * 512 bytes
caffeine:~# bc
255*63*1048*.5
8418060.0 <-- 8ish Gb
At 11:20 PM 10/19/00 +
Hello all
How can one calculate the amount of space a hard disk
provides given only the disk's CHS values?
Cheers
Sven
3 matches
Mail list logo