I have a server with 30 Gb ram and i have a script that put a (.ts) file (10mb) in /var/www/html/tv and script replace (.ts) file every 2 mintues.
so my question is: can i mount this folder /var/www/html/tv in RAM so all files in this folder /var/www/html/tv will be located in ram and not in hdd
i read somewhere that i need to use a command like this but dont know if this is what i need
mount -t tmpfs none /var/www/html/tv/ -o size=2g