[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mke2fs & capacity (where did it go!?)

On Sun, 14 Dec 1997, matthew tebbens wrote:

> Here is what 'df' says about the drives:
> Filesystem         1024-blocks  Used Available Capacity Mounted on
> /dev/hdb1             705433  485054   183942     73%   /
> /dev/sda1            4253289  509553  3523648     13%   /var/sda1
> This says I have 4,033,188 to play with plus 220,088 for reserved.
> Now, if I add those together I get 4,253,276.
> This is not even close to the stated formatted capacity of 4.51gigs.

4,253,276 * 1024 = 4,355,354,624.  Getting closer (they usually count a
kilo as 1000 to inflate numbers).  Changing the block size to a large
number will also reduce the formatting info written to the disk,
increasing the avail space, but also increasing the wasted space by small
files.  (winblows will probably use a much larger block size.)

Does that help?

Brandon Mitchell <bhmit1@mail.wm.edu>   "We all know linux is great... it
PGP: finger -l bhmit1@cs.wm.edu          does infinite loops in 5 seconds"
Phone: (757) 221-4847                      --Linus Torvalds

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: