I have a requirement to run a fifo file for some Interprocess communication and would like two bits of device
Any restrictions on openhabian OS on FIFO files and where they should be placed (/tmp is not a great place because of the privacy of /tmp)
Can the FIFO file be created on zram specifically I was thinking in /var/log/openhab even though its not a log file but specifically I do not need to be worried about the content of the FIFO file being lost in this case but at least this folder is know to be on zram
A little extra background - I actually did and the last action i did before i had a catastrophic SDCard failure was put the background process in place with the FIFO file in /various/lib/openhab/ipc and between 30 mins to 2 hours later the system died
I had backups AND SD Card Syncs of the system so recovery was good BUT this nagging doubt about why made me ask the question -
There is not a lot of data going to/from the fifo file - in fact only maybe 4-5 times a day if that and a single word
If it’s really only writing that little it was almost certainly a coincidence. If it was writing to a tempfs or zram file system it was completely unrelated to the writes as in those cases it’s not even touching the SD card.