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
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
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
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
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
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
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