mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

RAM Drive, Temp files, and Festival TTS

Mon Jan 04, 2016 8:36 pm

I'm a noob trying to reduce SD Card wear and tear pre-emptively.
I found the article on making one.
But now I want to USE it.
Is Raspian already set to behave itself?
Not using the GUI except maybe a window under Python.
And I have the (mistaken?) impression I need to set up Festival TTS to send its temporary files to it.
Lots of talking going on.
(No Internet access for RPI- robot)

malicious
Posts: 96
Joined: Thu Jul 24, 2014 10:07 pm
Location: USA

Re: RAM Drive, Temp files, and Festival TTS

Mon Jan 04, 2016 10:00 pm

To use a RAM drive, add a line to /etc/fstab and reboot:

Code: Select all

tmpfs    /tmp    tmpfs    nodev,nosuid,noexec,size=256M    0    0
The second field - /tmp - is where the RAM drive will be mounted to and fourth - nodev,nosuid,noexec,size=256M - are the mount options. RAM drives will use no memory when empty and default up to half your system's physical RAM. The size option can be used to set that upper limit higher or lower.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: RAM Drive, Temp files, and Festival TTS

Tue Jan 05, 2016 1:31 am

(Thank you- I believe that WAS the article)
Now- about Festival and Raspian?

Return to “Advanced users”