On Sun, May 17, 2020 at 08:06:58AM +0200, Christoph Biedl wrote:
> Elliott Mitchell wrote...
> 
> > SSIA.  When examining files produced by `dump` it gives a date for the
> > current file and the date of the previous dump.  Unfortunately the date
> > it is giving for the "Previous dump" is the date on the file being
> > examined, whereas the date for "This dump" is the date of the previous
> > dump.

> Debian package search for "dump" returns
> 
> /etc/comgt/dump                                comgt
> /sbin/dump                                     dump
> /usr/lib/<triplet>/dist-packages/cdist/conf/type/__mount/parameter/default/dump
>   cdist
> /usr/lib/<triplet>/dump                        corekeeper
> /usr/lib/<triplet>/filters-unex/dump           cruft-common
> /usr/lib/<triplet>/gwyddion/plugins/file/dump  gwyddion-plugins
> /usr/lib/<triplet>/metview/dump                metview
> /usr/lib/<triplet>/planners/dump               apt
> /usr/lib/<triplet>/solvers/dump                apt
> 
> And libmagic has 69 lines that result in a string containing "dump".
> Quite frankly, I'm lost here. Which one of those are you referring to?
> How can I reproduce the issue?

Notice only one of those has a *package* *name* of "dump" and the utility
itself is "/sbin/dump" (and it is executeable).

Sample invocation of `dump` might be `dump -u0 -f fs_dump.0 /dev/loop0`
and then `dump -u1 -f fs_dump.1 /dev/loop0`.  Examine the output of
`file fs_dump.0` and `file fs_dump.1`.  The dates for the previous dump
and current dump are swapped (for the level 0 is is reporting the epoch,
"never", "none", or "No previous dump" would be better).  Also noticing
for the level 0 is is reporting "Level zero" instead of "Level 0".


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sig...@m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445

Reply via email to