2023-12-03, 05:10 PM 
(This post was last modified: 2023-12-03, 05:12 PM by iconoclasthero. Edited 2 times in total.)
		
	
	
		So I just started using Jellyfin (and I haven't gotten transcoding to work yet), but I was looking back into the OP's question and found it via a google search for ca. "best practices for ramdisk ubuntu."  I've been using /dev/shm/cache for quite a number of years now with no problem.  What I don't know is if there are any drawbacks to using that and if it is really using ram or if tmpfs is also putting stuff on disk.  I have ca. 24 GB ram and am always using /dev/shm/cache for all kinds of file manipulation/work so that I don't write stuff to media until I'm done...or if I just want to put stuff in a volitile space that won't be there when I reboot.
Are there any known disadvantages to using /dev/shm/ for ram drive I should know about?
	
	  
	
	
Are there any known disadvantages to using /dev/shm/ for ram drive I should know about?
Code:
$ pwd; df .
/dev/shm/cache
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            12G  3.6G  8.3G  30% /dev/shm