source:
install/getsize.sh
@
0105685
Last change on this file since 0105685 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 112 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | #returns size of a disc in Mb |
4 | |
5 | SIZE=`sfdisk -s $1` || exit 1 |
6 | (( SIZE = SIZE / 1000 )) |
7 | echo "$SIZE" |
Note: See TracBrowser
for help on using the repository browser.