(parted) print free
Model: SD USD (sd/mmc)
Disk /dev/mmcblk0: 31.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
32.3kB 1049kB 1016kB Free Space
1 1049kB 53.5MB 52.4MB primary fat16 boot, lba
2 53.5MB 31.0GB 30.9GB primary ext4
31.0GB 31.9GB 922MB Free Space