source: install/getsize.sh

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 112 bytes
Line 
1#!/bin/bash
2
3#returns size of a disc in Mb
4
5SIZE=`sfdisk -s $1` || exit 1
6(( SIZE = SIZE / 1000 ))
7echo "$SIZE"
Note: See TracBrowser for help on using the repository browser.