From ArchWiki

Wondering about mounting with none

I've been experimenting lately with tmpfs and noticed that if the fstab line is written like this

none /home/user/tmp tmpfs auto,rw,user,nodev,nosuid,size=16G 0 0

the resulting mount is an empty tmpfs, whether if tmpfs is used instead of none, other programs utilize that mountpoint for their in-memory files.

Wondering if adding the none example makes sense. Since /tmp is writable by everyone it doesn't add a ton of value, but can be used to create tmpfs that is not shared with other programs.

--Thomazella (talk) 15:44, 13 May 2023 (UTC)