![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I think I've asked this question before and I had the formula, but I can't seem to find it. How do I convert the number of block on a partition to either kbytes or Megabytes? Thanks |
#3
| |||
| |||
|
|
Hello, Try df -h this will print free space in human readable form, e.g. Mb, Kb, etc.... Germano wrote: I think I've asked this question before and I had the formula, but I can't seem to find it. How do I convert the number of block on a partition to either kbytes or Megabytes? Thanks |
#4
| |||
| |||
|
|
Here's the output of fdisk: Disk /dev/emcpowera: 16.1 GB, 16106127360 bytes 255 heads, 63 sectors/track, 1958 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/emcpowera1 1 491 3943926 60 Unknown /dev/emcpowera2 492 982 3943957+ 60 Unknown /dev/emcpowera3 983 1473 3943957+ 60 Unknown /dev/emcpowera4 1474 1958 3895762+ 60 Unknown |
#5
| |||
| |||
|
|
Germano wrote: [...] Here's the output of fdisk: Disk /dev/emcpowera: 16.1 GB, 16106127360 bytes 255 heads, 63 sectors/track, 1958 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/emcpowera1 1 491 3943926 60 Unknown /dev/emcpowera2 492 982 3943957+ 60 Unknown /dev/emcpowera3 983 1473 3943957+ 60 Unknown /dev/emcpowera4 1474 1958 3895762+ 60 Unknown Hello, 1 Block == 1Kbyte which means each of your devices is around 4Go... |
![]() |
| Thread Tools | |
| Display Modes | |
| |