«

»

May 04

How to: Create directory in /var/run/ at startup in Ubuntu

How to: Create directory in /var/run/ at start-up in Ubuntu

As you probably have already noticed, the /var/run directory is temporary storage used by your Ubuntu system. It is mapped to your RAM disk (Ubuntu uses I think about 10% of your RAM and creates a disk mount for it. This is used for folders like /var/run which store run time information for applications. Because of that you want the speed of RAM.

So when you are trying to customize an application you come to realize that with each reboot your changes on /var/run are lost. So the question that comes to mind is: where is the configuration that establishes what gets created on startup on the /var/run directory? Well, after some research I came with the answer:

 

Enhanced by Zemanta

Leave a Reply

%d bloggers like this: