(Answer) (Category) SCO UnixWare 7/OpenUNIX 8/OpenServer 6 FAQ : (Category) Media/Device Information, Filesystems, and Disks :
How do I convert sectors to MB?
First you need to do a 'partsize' on the hard drive you are interested in, so that you can determine the bytes/sector. On my IBM hard drive, 1 sector = 512 Bytes. You can multiply this by 1, twice, as in:
       1  sect.      1024 Bytes       1024 KB 
      ---------  x  ----------   x   ---------     =   2048 sect./ MB 
      512 Bytes        1 KB            1 MB 
Using the beauty of cross-multiplication, we can see that Bytes cancels Bytes, KB cancels KB, and we are left with sectors/MB. So on my system, to convert sectors to MB, I would divide the number of sectors by 2048 sect./MB.


[Append to This Answer]
Previous: (Answer) How do I list my partition and slice layout? Is there a divvy?
Next: (Answer) How do I add a 2nd or 3rd disk drive to my system?
This document is: http://www.zenez.com/cgi-bin/ou8faq/faq?file=88
[Search] [Appearance]
This is a Faq-O-Matic 2.721.