Since tmpfs now supports the noswap option (since Kernel 6.4), is it possible to use tmpfs instead of ramfs ?
Reason being with tmpfs one can limit the size of the RAM storage, preventing accidentally 'eating' all available RAM.
Furthermore, tmpfs also provides the uid, gid, and mode options, eliminating the need to do a chown+chmod post-mounting.
References:
Since
tmpfsnow supports thenoswapoption (since Kernel 6.4), is it possible to usetmpfsinstead oframfs?Reason being with
tmpfsone can limit the size of the RAM storage, preventing accidentally 'eating' all available RAM.Furthermore,
tmpfsalso provides theuid,gid, andmodeoptions, eliminating the need to do achown+chmodpost-mounting.References: