Any clue why "df -m" vs. "du -xsAm" get such different results for the tmpfs in question (403 MiBytes vs. 101 MiBytes)?

From: Mark Millard <marklmi_at_yahoo.com>
Date: Wed, 08 Jun 2022 19:54:10 UTC
# 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