Jump to content

Write files to zram. Motion


Akalchuk

Recommended Posts

Hi to all. Is it possible to write tmp video files to zram. Im using Opi Pc as A video recorder. And would like to write files to zram. 

Zram mounted to /var/log/. 

Im writing to /var/log/motion. 

Is it A good way? 

 

Latest armbian. Thank you. 

Link to comment
Share on other sites

I think i found the solution. 

I created a tmpfs. 

 

Mkdir /mnt/tmpfs

chmod 777 /mnt/tmpfs

mount - t tmpfs - p size=300M tmpfs /mnt/tmpfs

 

And write to this dir. 

 

What are you thinking about? 

Thank you. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines