[vox-tech] Are those values in kilobytes?

Stephen Young vox-tech@lists.lugod.org
Thu, 2 Oct 2003 15:35:06 -0700 (PDT)


--0-327575817-1065134106=:90770
Content-Type: text/plain; charset=us-ascii

Please take me off your email list. Thank you.

Michael J Wenk <wenk@praxis.homedns.org> wrote:On Thu, Oct 02, 2003 at 09:37:51PM -0800, Walther The Writer wrote:
> And if so, probably stupid question, but what are they in MB? Also,
> what size of one cylinder when using fdisk? Any comments are appreciated.

Since the df question has been answered, I'll take a stab at the fdisk
question. The answer is pretty much in fdisk. Take a look at: 

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

The last line is what you want. It says that a cylinder is 8225280
bytes. To find KB, divide that by 1024. You get 8032.5 KB. To find
MB, divide the KB # by 1024. You get 7.84 MB. You can divide the bytes
by a million to find the approx # of MB, but since a MB is not a
million, but 1024*1024 you will not be accurate, but sometimes close is
good enough. 

Mike
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech

--0-327575817-1065134106=:90770
Content-Type: text/html; charset=us-ascii

<DIV>Please take me off your email list. Thank you.<BR><BR><B><I>Michael J Wenk &lt;wenk@praxis.homedns.org&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">On Thu, Oct 02, 2003 at 09:37:51PM -0800, Walther The Writer wrote:<BR>&gt; And if so, probably stupid question, but what are they in MB? Also,<BR>&gt; what size of one cylinder when using fdisk? Any comments are appreciated.<BR><BR>Since the df question has been answered, I'll take a stab at the fdisk<BR>question. The answer is pretty much in fdisk. Take a look at: <BR><BR>Disk /dev/hda: 82.3 GB, 82348277760 bytes<BR>255 heads, 63 sectors/track, 10011 cylinders<BR>Units = cylinders of 16065 * 512 = 8225280 bytes<BR><BR>The last line is what you want. It says that a cylinder is 8225280<BR>bytes. To find KB, divide that by 1024. You get 8032.5 KB. To find<BR>MB, divide the KB # by 1024. You get 7.84 MB. You can divide the bytes<BR>by a million to find the approx # of MB, but since a MB is not a<BR>million, but 1024*1024 you will not be accurate, but sometimes close is<BR>good e
 nough.
 <BR><BR>Mike<BR>_______________________________________________<BR>vox-tech mailing list<BR>vox-tech@lists.lugod.org<BR>http://lists.lugod.org/mailman/listinfo/vox-tech</BLOCKQUOTE></DIV>
--0-327575817-1065134106=:90770--