wiki:SaliUsage/Functions/get_disksize

get_disksize

Returns the total size of the disk in MB

get_disksize disk

Example

We want to find out how big disk /dev/sda is

DISKSIZE=$(get_disksize /dev/sda)
Last modified 14 years ago Last modified on 06/04/10 14:28:44