Package: vnstat Severity: normal Tags: upstream There is an unexpected difference between the vnstat and the vnstatd binaries: In a low diskspace scenario, the CheckDiskSpace option set to 0 comes in handy. Setting this option to 0 updates the database file even if the remaining diskspace is <1MB. The vnstatd daemon however, does not update the database in this case.
>From the vnstat source code: (line 540) if (!spacecheck(dirname) && !force) { >From the vnstatd source code: (line 337) if (spacecheck(dirname)) { I would opt that both binaries behave the same way, ie replace line 337 in vnstatd.c by if (spacecheck(dirname)||force) { Thanks, Thomas -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (990, 'stable'), (500, 'squeeze-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org