From: Mishustin K. <mis...@ng...> - 2009-09-24 17:35:16
|
Hi, > We would like to have net-snmp in read only file system (cramfs). > what are the things need to do? > > In our file system, only /tmp has R/W access .If i run snmpd, it is > writing some files under /var/net-snmp/....and also using /var/agentx/... > > > > is it possible to redirect from /var to /tmp/var...? > You should run configure script with parameter --with-persistent = <path>. This will make snmpd use specified path instead of /var/net-snmp. I may be little wrong with parameter name, but you can get a whole list of configure parameters by executing: ./configure --help. |