lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <13ef2a41-9faa-fc6f-9b42-0bb48e6f591c@inetstar.ru>
Date:   Mon, 23 Dec 2019 19:23:58 +0300
From:   Sergey Kamenev <nilfs19@...tstar.ru>
To:     linux-kernel@...r.kernel.org
Subject: New utility for NILFS2 partition

Hi folks!

I wrote utility for NILFS2 partition:

n2u

Repository: https://github.com/sukamenev/nilfs2_tools

She's working like "svn" command.

n2u can display the change history of a specific file / directory:

***************
n2u log filename
***************


The output is something like this:

    CHECKPOINT DATE            TIME         TYPE SIZE MODE
          1787552 2019-11-24 22:08:00 first 7079 cp
          1792659 2019-11-25 23:09:05 changed 7081 cp

It works quite quickly for the chosen implementation method: it searches for differences between files using the bisection method, quickly mounting and comparing the file / directory in different images.

You can specify a range of checkpoints using the -cp key CP1: CP2 or -cp {YEAR-MM-DD}: {YEAR-MM-DD}.

You can also see the difference between the checkpoints for a specific file or directory:

************************
n2u diff -r cp1: cp2 filename
************************

You can display the entire chronology of changes: all the differences between the checkpoints of a specific file / directory:

****************************
n2u blame [-r cp1: cp2] filename
****************************

The date range in this command is also supported.

Happy using!
Sergey Kamenev


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ