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

Re: /proc/partitions "blocks" ?



Each block is 2 sectors, or 1024 bytes (1k)

To convert #blocks to MB, just divide it by 1024.

Example: 8001 blocks as shown in /proc/partitions would be 7.81 MB.

Tom

ktb wrote:
> 
> I'm looking at the /proc/partitions file and it lists "block" sizes.
> I've been looking on the web, archives, docs on my system and can't find
> what the formula is for converting blocks to MBs.  Does anyone know how
> to do this or where to find the info?
> Thanks,
> kent
> 
> --
> I'd really love ta wana help ya Flanders but... Homer Simpson



Reply to: