df
(disk free) only shows information about filesystems that are currently mounted. Theoretically, there could also be sda2
and sda3
, which are not listed.
df
does not directly interface with filesystems. It relies on the kernel to provide this information. Because filesystem statistics are relatively irrelevant for unused partitions, there’s most likely no interface to query them.
The GParted GUI can show you the information you want, because it has its own filesystem drivers. The parted
command (essentially the text-only version of GParted) does not display this information, though.
Or you could simply mount the partitions you want the info of.