df command on Centos/VirtualBox – Unix & Linux Stack Exchange

I’m studing the use of df, when i tried it on centos 7 on my virtualBox, i got this :

df -h 
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 1.9G     0  1.9G   0% /dev
tmpfs                    1.9G     0  1.9G   0% /dev/shm
tmpfs                    1.9G  9.6M  1.9G   1% /run
tmpfs                    1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/mapper/centos-root  8.0G  5.3G  2.8G  66% /
/dev/sda1               1014M  239M  776M  24% /boot
tmpfs                    379M   24K  379M   1% /run/user/1000

i don’t understand from where all this space came from, because i have only 10G when i first created this VM, and 4G for the RAM, and in the configuration of the VM i get this :

enter image description here

Information when i click in storage  : 
type : Normal (VDI)
virtual size : 10G
reel size : 4.86
details : storage of differentiation
Emplacement : ...
attached to : centos (install snapshot)

Read more here: Source link