This question already has an answer here:
I would like to know exactly what
The following is an example of the output of the
Filesystem Size Used Avail Use% Mounted on ubi0:rootfs 435M 424M 12M 98% / devtmpfs 88M 4.0K 88M 1% /dev tmpfs 248M 0 248M 0% /dev/shm tmpfs 248M 8.4M 240M 4% /run tmpfs 248M 0 248M 0% /sys/fs/cgroup tmpfs 248M 0 248M 0% /tmp tmpfs 248M 72K 248M 1% /var/volatile
And here's the output of
du (run in the
$ du -sh home 255M home $ du -sh usr 264M usr
I thought that
/usr, but the sum of them, 519M, is larger than the
ubi0:rootfs size, 435M.
The result of the
free command is as follows.
total used free shared buff/cache available Mem: 495M 55M 50M 8.4M 389M 420M Swap: 0B 0B 0B
At first I thought the difference is due to ramdisk, but the
free command shows RAM is not used so much.
What is the exact difference between
df (or is the
/usr dir special)?