Re: how many inodes on a tmpfs mount

From: Olivier Certner <olivier.freebsd_at_free.fr>
Date: Fri, 11 Nov 2022 12:02:43 UTC
> Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
> /dev/md1      1.9G    489M    1.3G    27%    119k  143k   45%   <path>

Mmm... For example, I get ~4M inodes per gigabyte on my machines with tmpfs.

It seems you're in fact using mdmfs(8) and that it is defaulting to creating some UFS filesystem instead of a tmpfs one. You can confirm that by running 'mount | grep -F /dev/md1' and checking the filesystem type (should be ufs, not tmpfs).

How is your md mounted? Could you provide the command-line, or the corresponding line in '/etc/fstab'? You should use 'tmpfs' as the device name in both cases.

-- 
Olivier Certner