[Dnsmasq-discuss] File System Access by Dnsmasq
Justin McAteer
justin at jmcateer.com
Sun Aug 8 19:38:11 BST 2010
You can find all opened files by dnsmasq using the fd directory in the
proc filesystem
ls -la /proc/<pid>/fd
or by using the command
lsof
Thanks,
Justin McAteer
On Sat, Aug 7, 2010 at 2:40 AM, Robert Pollai <rap.nospam2 at gmx.net> 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 and lease file by adding the following two lines to the configuration file:
>
> dhcp-leasefile=/volumeUSB1/dnsmasq/dnsmasq.lease
> log-facility=/volumeUSB1/dnsmasq/dnsmasq.log
>
> But still the disks seem to wake up when I switch one a device that fetches an IP via DHCP.
>
> Are there any other files that dnsmasq accesses, directly or through the operating system? Is the configuration file accessed regularly or only on startup?
>
> Thanks for your support, regards, Robert
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list