<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>仙童工作室 &#187; 分区</title>
	<atom:link href="http://www.thtznet.com/tag/%e5%88%86%e5%8c%ba/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thtznet.com</link>
	<description></description>
	<lastBuildDate>Wed, 23 Jun 2010 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[转]windows下整数分区的计算逻辑</title>
		<link>http://www.thtznet.com/84.html</link>
		<comments>http://www.thtznet.com/84.html#comments</comments>
		<pubDate>Thu, 19 Mar 2009 15:32:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[网络相关]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[分区]]></category>

		<guid isPermaLink="false">http://www.thtznet.com/?p=84</guid>
		<description><![CDATA[转自drag0n&#8217;s blog
硬盘整数分区计算方法我们一般是这样算的：分区大小＝（分区大小-1）×4＋1024×分区大小。
比如：
      40GB＝（40-1）×4＋1024×40＝41116MB
      按照这样的计算方法:
      5G=5136MB
      10G=10276MB
      15G=15416MB
      20G=20556MB
      30G=30836MB
      40G=41116MB
      30G以内，输入上面的数据，如10G你输入10276，在Windows资源管理器里面显示的刚好10.00GB，而在管理工具-磁盘管理界面显示就是10.04GB，如果是40G你输入41116，那么在Windows资源管理器里面显示的刚好40.01GB。
      因此上面的计算公式还不是很准确。
     最精确硬盘分区的算法我认为应该是这样的:
      硬盘一般有255磁头，63扇区，故每柱面大小为：
      512byte x 255 x 63＝8225280bytes ＝7.84423828125 MB
      如果要分40GB,那么要40&#215;1024MB=40960MB
      需要柱面数为40960÷7.84423828125=5221.66
      取整数既为5222个柱面
      应分M数为5222&#215;7.84423828125=40962.6123046875MB
      不管小数点后面几位都进1，也就是40963MB，windows就认为是40GB了。
      这个方法NTFS和FAT32通用。
      下面附1GB到200GB精确计算结果：
      1G : 1028M
      2G : 2056M
      3G : 3075M
      4G : 4103M
      5G : 5123M
      6G : 6150M
      7G : 7170M
      8G : 8198M
      9G : 9217M
      [...]]]></description>
		<wfw:commentRss>http://www.thtznet.com/84.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
