Re: how many inodes on a tmpfs mount

From: Per olof Ljungmark <peo_at_nethead.se>
Date: Fri, 11 Nov 2022 11:16:31 UTC
Quoting Olivier Certner <olivier.freebsd@free.fr>:

> Hi,
>
> The calculation used is in tmpfs_mount(). It normally allows to use  
> the whole mount size to create file directory entries and nodes, so  
> basically you should never run out of inodes, unless all your files  
> are empty (space is accounted as file data plus file directory  
> entries and nodes).
>
> What does 'df -h -i' reports for your mount?

Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/md1      1.9G    489M    1.3G    27%    119k  143k   45%   <path>