I'm wondering where are the linux Sys V semaphores stored? It seems that at least CentOS 5/5.1 stores them in files but I'm hoping that they are stored in RAM, so are they stored in files or in RAM? I'd also like to know how they have been programmed, as in how they work. I tried to google for both questions but for some reason I can't find the answers.