Hi

On Mon, 3 Nov 2003 12:07:15 +0300
Odhiambo Washington <[EMAIL PROTECTED]> wrote:

> Hello users,
> 
> I have a disk which is actually 72GB. 2GB has been used as swap while
> the rest was given to /.

Well, 72GByte in the manufacturer's notation which is decimal.
So your disk has 72 * 10^3^3 (= 72'000'000'000) Bytes.
freeBSD works - like every other OS i know - not decimal but dual.
Therefor the disk has 67.055225 * 2^10^3 (= 72'000'000'000) Bytes.

> sucks# uname -nmr
> sucks.wananchi.com 5.1-RELEASE-p10 i386
> 
> sucks# df -h
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/da0s1a    64G   1.8G    57G     3%    /
> devfs         1.0K   1.0K     0B   100%    /dev

Here we have our 67GiByte disk without the 2GiByte Swap, and a little
bit of unused space due to Sector 63 thingies.
So da0s1a ends up having 64GiByte of which iirc 8-10% are reserved and
used for filesystem optimizations. Makes 57GiByte available with 3% (or
1.8Gi) being used.

So everything is there, it's just a little math. And yes, it's quite
a pain in the ass, but you will get used to it ;]

Joerg

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to