svlogd - can I prove it's reading the config file?

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 21 18:12:28 UTC 2011


On Fri, Jan 21, 2011 at 6:13 PM, David Collier
<from_busybox_maillist at dexdyne.com> wrote:
>
> I've done better. I read the source code :-)
>
> You disregard all but the first 128 chars of the file.

Inherited from original svlogd:

http://smarden.org/runit/runit-2.1.1.tar.gz

  /* read config */
  if ((i =openreadclose("config", &sa, 128)) == -1)
    warn2("unable to read config", ld->name);

-- 
vda


More information about the busybox mailing list