read free space on Win/Linux/Mac