Use o comando blockdev
:
Bytes:
> time blockdev --getsize64 /dev/system/home
32212254720
real 0m0.004s
user 0m0.001s
sys 0m0.002s
Setores:
> time blockdev --getsize /dev/system/home
62914560
real 0m0.006s
user 0m0.001s
sys 0m0.003s