Creating memory disks on raspberry pie to increase longevity
· Raspberry pie · 0 comment · 1,961 Views

Creating memory disks on raspberry pie to increase longevity

· Raspberry pie · 0 comment · 1,961 Views

Create a memory disk on raspberry pie, and put the frequently read and write cache and other small files into the memory, so as to reduce the life consumption of SD card.

 mkdir /ram
mount -t tmpfs -o size=10m,mode=0777 tmpfs /ram

The above command is to create a 10 megabyte memory disk. Adjust according to your own needs.

Add a new comment