Pablo Manalastas said: > I have been reading the man page of ntfsresize, and > we are told that if we have a 40G hda1 partition > containing ntfs that we want to shrink to 20G (so we > can use the rest for Linux), the command to give is > > ntfsresize -s 20G /dev/hda1 > > The unit G is 10^9, that is, 1k=1000 and not 1024. > After the filesystem is resized, we can physically > shrink the partition to 20G, by using linux fdisk. > We can give the same starting track number to fdisk, > namely track #1, and when prompted for ending track > number, do we give +20000M, or do we give some > smaller value? I believe that for fdisk 1k=1024. > My arithmetic is rusty, so take out your calculators > and help me please. Thanks. >
For HD manufacturers, the unit 1G=10^9, 1k=1000, 1M=10^6. They did this to simplify their computation and overspecify their products (eg claim thay their HD is 20G well in fact is less than that). Unix fdisk as far as I can recall uses the usual notion of 1k=1024bytes=2^10. Therefore, 1G = 1024M or 20G = 20480M. rowel -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
