[Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-07 Thread Robert Pollai
Hi, I am running dnsmasq on a NAS from Synology. The NAS puts its disks into standby if they are not needed and I want to move all files accessed by dnsmasq to a USB flash drive, so that dnsmasq won’t wake up the disks. So far I have done that for the log file and lease file by adding the foll

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-08 Thread Justin McAteer
You can find all opened files by dnsmasq using the fd directory in the proc filesystem ls -la /proc//fd or by using the command lsof Thanks, Justin McAteer On Sat, Aug 7, 2010 at 2:40 AM, Robert Pollai wrote: > Hi, > > I am running dnsmasq on a NAS from Synology. The NAS puts its disks int

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-08 Thread Carlos Carvalho
Justin McAteer (jus...@jmcateer.com) wrote on 8 August 2010 13:38: >You can find all opened files by dnsmasq using the fd directory in the >proc filesystem > >ls -la /proc//fd > >or by using the command > >lsof Yes but this will only show what files are open at that moment; it's possible t

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-09 Thread Simon Kelley
Robert Pollai wrote: > Hi, > > I am running dnsmasq on a NAS from Synology. The NAS puts its disks > into standby if they are not needed and I want to move all files > accessed by dnsmasq to a USB flash drive, so that dnsmasq won’t wake > up the disks. > > So far I have done that for the log file

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-09 Thread mattmatteh
into standby if they are not needed and I want to move all files accessed by dnsmasq to a USB flash drive, so that dnsmasq won?t wake up the disks. So far I have done that for the log file and lease file by adding the following two lines to the configuration file: dhcp-leasefile=/volumeUSB1/dnsm

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-09 Thread Robert Pollai
any file system access.  Cheers, Robert > Original-Nachricht > Datum: Sun, 8 Aug 2010 13:38:11 -0500 > Von: Justin McAteer > An: Robert Pollai > CC: dnsmasq-discuss@lists.thekelleys.org.uk > Betreff: Re: [Dnsmas

Re: [Dnsmasq-discuss] File System Access by Dnsmasq

2010-08-12 Thread mattmatteh
I am already using the no-resolv option and the ls -la /proc//fd gives me only sockets and pipes apart from the log and lease files. Not sure what is waking up the disks then. Maybe the NAS is not smart enough to know that dnsmasq accesses the files on the USB mount and just wakes up the disks