Re: Blocks verses Bytes,Mbytes etc

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

 



From: "Harry Putnam" <hgp@xxxxxxxxxxxxx>
> "jdow" <jdow@xxxxxxxxxxxxx> writes:
> 
> > From: "Harry Putnam" <hgp@xxxxxxxxxxxxx>
> >
> >> But its often the case when one needs fdisk that not much else is
> >> available so I wondered if there is a handy way to convert the Blocks
> >> shown above into Bytes, or at least some rough approximation?
> >  
> > Divide the number of blocks by 2 to get the number of 1024 byte "kilo
> > bytes" there are on the disk.
> 
> Thanks Jo,
> I must be doing something wrong here:
> fdisk: /dev/hda8             1433      1503    570276   83  Linux
> df -h  /dev/hda8             548M   99M  422M  19% /var

Pardon me - I forgot fdisk reported 1024 byte blocks not the native
disk blocks.

570276 1k blocks is 556.9M. Subtract from that the filesystem overhead
and the reserved areas if you are doing df as a user. Relating fdisk
values to filesystem available space is not any form of a direct
equation of the "simply multiply by fudge_factor_PLAY_9_FROM_OUTER_SPACE".

{^_^}





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux