unsigned long get_space_perc() { return GetFreeCardSpaceKb()*100/GetTotalCardSpaceKb(); }
static int luaCB_get_disk_size( lua_State* L ) { lua_pushnumber( L, GetTotalCardSpaceKb() ); return 1; }