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

Re: Unefficient disk formating



On Thu, Jan 25, 2001 at 08:04:47AM +0200, פופוב יבגני wrote:
> Connecting my new Seagate IDE 40Gb hard disk:

40Gb according to disk manufacturers is 40,000,000,000 bytes
(as if we were multiplying by 1000s, not 1024s) - that's a
standard practice when advertising disk sizes.

Now, 40,000,000,000 / 1024 / 1024 / 1024 = 37 GB

df -H /dev/hdb1 might give you a bit different sizes (since it
uses multiplies of 1000, not 1024).
 
> fdisk  creates a partition of 39078081 blocks 

39,078,081 * 1024 = 40 GB

(assuming GNU block size of 1024 bytes)

> df -h /dev/hdb1 gives me only 37G available - ( now it is 9.5G used + 25G
> Avail = 34.5G )

As others already said, some percentage of the disk went to
root-only usage.

-- 
Best regards,
Ilya Konstantinov

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il