Date: Wed, 8 Jun 2022 12:54:10 -0700 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Any clue why "df -m" vs. "du -xsAm" get such different results for the tmpfs in question (403 MiBytes vs. 101 MiBytes)? Message-ID: <4997AB05-8CD4-4A2C-AAB3-34F6DB2CE325@yahoo.com> References: <4997AB05-8CD4-4A2C-AAB3-34F6DB2CE325.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# df -m | egrep "(^Filesystem|^tmpfs)" Filesystem 1M-blocks Used Avail Capacity Mounted on tmpfs 1024 403 620 39% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p tmpfs 30849 0 30849 0% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/var/db/ports tmpfs 1024 0 1023 0% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/01/.p tmpfs 1024 0 1023 0% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/02/.p tmpfs 1024 0 1023 0% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/03/.p tmpfs 1024 0 1023 0% /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/04/.p So the comparison is with the line that lists Used as 403 (MiBytes): # du -xsAm /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p 101 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p # du -xsm /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p 68 /usr/local/poudriere/data/.m/main-CA7-bulk_a-default/ref/.p Why 403 vs. 101 ? === Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4997AB05-8CD4-4A2C-AAB3-34F6DB2CE325>
