Hello,
Since last domoticz versions, I see a file domocookie.txt.
What is this file for?
I've put it in a tmpfs, like domoticz.db, to reduce read/writes on SD card.
After reboot, I have a script which restore domoticz.db from last backup, but this file disapear after reboot.
Is it a problem if the file is removed? Is it recreated if needed, or should I backup it, to restore on reboot?
Thanks for your help,
What is the file domocookie.txt and is it possible to remove
Moderators: leecollings, remb0
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: What is the file domocookie.txt and is it possible to re
that is when you use http sensors/hardware, and the site uses coockies, we need this file
Quality outlives Quantity!
-
- Posts: 84
- Joined: Saturday 05 March 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: What is the file domocookie.txt and is it possible to remove
Hello,
same kind of problem ...
Is there a way to reduce recordings on the SD Card ?
I made domocookie.txt readonly, is that ok ?
I suppose of course, I would have to make it rw back if I use other web sites, but for now ...
Thanks
PS - must say, I have got some geekish pride of :
/mnt/pc being a cifs dir on my Windows PC.
same kind of problem ...
Is there a way to reduce recordings on the SD Card ?
I made domocookie.txt readonly, is that ok ?
I suppose of course, I would have to make it rw back if I use other web sites, but for now ...
Thanks
PS - must say, I have got some geekish pride of :
Code: Select all
pi@raspberrypi ~/domoticz $ sudo find / -mmin -10 -ls | grep -v /var | grep -v /proc
269 4 drwxrwxrwt 2 root root 4096 Apr 17 22:23 /tmp
281474976796498 24 drwxrwxrwx 2 root root 24576 Apr 17 22:23 /mnt/pc
56013520365515303 76 -rw-rw-rw- 1 root root 75071 Apr 17 22:23 /mnt/pc/domo.log
3476 4 -r--r--r-- 1 pi pi 739 Apr 17 22:27 /home/pi/domoticz/domocookie.txt
3 0 crw--w---- 1 pi tty Apr 17 22:29 /dev/pts/0
1107 0 crw-rw-rw- 1 root root Apr 17 22:28 /dev/ptmx
Who is online
Users browsing this forum: No registered users and 1 guest