$ cat typescript-2 Script started on Wed 21 Aug 2013 04:09:09 PM CDT [root@localhost tmp]# parted /dev/sda u B p free Model: ATA QEMU HARDDISK (scsi) Disk /dev/sda: 12884901888B Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 32256B 1048575B 1016320B Free Space 1 1048576B 550502399B 549453824B primary ext4 boot 2 550502400B 9556721663B 9006219264B primary ext4 3 9556721664B 10681843711B 1125122048B primary ext4 4 10681843712B 12884901887B 2203058176B extended 5 10683940864B 11782848511B 1098907648B logical ext4 11782848512B 12884901887B 1102053376B Free Space [root@localhost tmp]# exit Script done on Wed 21 Aug 2013 04:09:35 PM CDT