Hi Joachim,

On Tue, 17 Feb 2015 00:37:35 +0100 Joachim Breitner <nome...@debian.org> wrote:

> Package: zerofree
> Version: 1.0.3-1
> Severity: minor
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I just ran zerofree and it returned with
>
> $ zerofree -v /dev/vg-raid1/fry-disk
> 2368428/2661728/4826112
>
> Now I wonder what these numbers mean, but neither the homepage nor the
> manpage would enlighten me.

The source code for the current version (1.0.3-1) states the following
(zerofree.c, lines 170-172):

    if ( verbose ) {
        printf("\r%u/%u/%u\n", modified, free, fs->super->s_blocks_count);
    }

>
> If you know what they mean, please add that to the manpage.

Would you consider the following patch enough?

diff --git a/debian/zerofree.sgml b/debian/zerofree.sgml
index 405113b..1ab5cbb 100644
--- a/debian/zerofree.sgml
+++ b/debian/zerofree.sgml
@@ -133,7 +133,7 @@
         <term><option>-v</option>
         </term>
         <listitem>
-          <para>Be verbose;</para>
+          <para>Be verbose (shows modified, free and super block count);</para>
         </listitem>
       </varlistentry>
       <varlistentry>

>
> Thanks,
> Joachim
>
>
> - -- System Information:
> Debian Release: 8.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (101, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, armhf
>
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages zerofree depends on:
> ii  e2fslibs  1.42.12-1
> ii  libc6     2.19-15
>
> zerofree recommends no packages.
>
> zerofree suggests no packages.
>
> - -- no debconf information
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlTifz0ACgkQ9ijrk0dDIGw9IgCdG7FTReQllWOkFrKwKF8R7POo
> 6zUAoL8ucPqd7rbJH/+sHkHi9eNhjJNj
> =6h+3
> -----END PGP SIGNATURE-----

Regards,
Tiago.

-- 
Tiago "Myhro" Ilieve
Blog: http://blog.myhro.info/
GitHub: https://github.com/myhro/
LinkedIn: https://br.linkedin.com/in/myhro
Montes Claros - MG, Brasil

Reply via email to