On Sun, 14 Dec 1997, matthew tebbens wrote:

> (victor)[root:~#] mke2fs -c -v /dev/sda1
> mke2fs 1.10, 24-Apr-97 for EXT2 FS 0.5b, 95/08/09
> Linux ext2 filesystem format
> Filesystem label=
> 1101824 inodes, 4401778 blocks
> 220088 blocks (5.00%) reserved for the super user
> First data block=1
> Block size=1024 (log=0)
> Fragment size=1024 (log=0)
> 538 block groups
> 8192 blocks per group, 8192 fragments per group
> 2048 inodes per group
> Superblock backups stored on blocks:
> ....etc
[...]
> 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
> /dev/sdb1            4253289      13  4033188      0%   /var/sdb1
> /dev/sdc1            4253289      13  4033188      0%   /var/sdc1
> /dev/sdd1            4253289      13  4033188      0%   /var/sdd1
> 
> 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.
> 
> What am I missing here ??

4,033,188 + 220,088 + 13 = 4,253,289 so that's all right then.
But that's not what's at issue.
What's relevant is the 4,401,778 blocks which becomes 4,507,420,672 bytes.
That looks better. But even that is only looking at the first partition
(sda1, sdb1 etc.)
If you examine the partition table, you should find the partition is
2 * 4,401,778 sectors in size, and that there's probably no free space at
the end.

My own experience is that pre-installed W95 machines on ~ 2GB disks have a
single FAT32 partition, but that this doesn't quite fill the disk. The last 
one I bought was 73heads, 63sectors; 936cylinders of FAT32, 84 unused. Of 
course it didn't matter as I was trashing it anyway.

You can add a few sectors by maximising the partition to use the sectors 
in its first track. (This isn't the default as DOS can't.)

--
David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA
U.K.  email: [EMAIL PROTECTED]  tel: +44 1908 653 739  fax: +44 1908 655 151


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to