Code:
root@server:~# parted
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p free
Model: ATA ST9320423AS (scsi)
Disk /dev/sda: 320GB
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 2000MB 1999MB primary fat32 lba
4 2000MB 24.0GB 22.0GB primary fat32 lba
2 24.0GB 45.0GB 21.0GB primary ntfs boot
3 45.0GB 320GB 275GB extended lba
45.0GB 235GB 190GB Free Space
7 235GB 255GB 19.9GB logical ext2
5 255GB 275GB 20.0GB logical ext2
6 275GB 320GB 45.2GB logical ntfs
(parted)
So, in the presence of this listing I can safely proceed to erase, via parted, any partition without affecting the others. And cfdisk is wrong while parted is right.