[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Blocks verses Bytes,Mbytes etc
- From: Harry Putnam <hgp sbcglobal net>
- To: shrike-list redhat com
- Subject: Re: Blocks verses Bytes,Mbytes etc
- Date: Tue, 29 Apr 2003 18:11:05 -0700
"jdow" <jdow earthlink net> writes:
> From: "Harry Putnam" <hgp sbcglobal net>
>
>> 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
In this picture 570276 blocks equals 548M. I realize the 548M may
not be very accurate. I've forgotten if df shows the MB after what
is reserved for emergency and etc. But it is at least sort of close.
570276 / 2 = 285138
Then am I right in thinking dividing 285138 by 1024 will give MB?
285138 / 1024 = 278.455MB
Which is only about half. Maybe just divide the Blocks by 1024 to
get MB?
570276 / 1024 = 556.91MB
Or did I get your reply confused?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]