File: o-configdir-tempfs.rst.txt

package info (click to toggle)
cyrus-imapd 3.6.1-4%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 80,688 kB
  • sloc: ansic: 255,928; perl: 97,730; javascript: 9,266; sh: 5,537; yacc: 2,651; cpp: 2,128; makefile: 2,099; lex: 660; xml: 621; python: 388; awk: 303; asm: 262
file content (10 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
Is it safe to put <configdirectory>/proc and <configdirectory>/lock on a tmpfs filesystem?
------------------------------------------------------------------------------------------

It's safe to put both of these in tmpfs, and since they're fairly busy 
it's a good idea for performance reasons. Further, nothing ever removes 
files from <configdirectory>/lock/, so it's probably a good idea in 
general to mount that on tmpfs such that a reboot will purge it. The 
Cyrus code will create all the necessary directory structure under 
<configdirectory>/lock on-demand.